Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://api.hacktron.ai/v1/cost-estimations \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.hacktron.ai/v1/cost-estimations"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.hacktron.ai/v1/cost-estimations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hacktron.ai/v1/cost-estimations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hacktron.ai/v1/cost-estimations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hacktron.ai/v1/cost-estimations")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hacktron.ai/v1/cost-estimations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"organization_id": "f336d0bc-b841-465b-8045-024475c079dd",
"user_id": "f336d0bc-b841-465b-8045-024475c079dd",
"task_id": "cost_est_owner-repo_12345",
"status": "completed",
"repos": [
{
"repo_url": "https://github.com/owner/repo",
"branch": "main",
"commit_sha": "abc123def456",
"archive_id": "<string>"
}
],
"triage_required": false,
"triage_fee_credits": 1600,
"created_at": "2026-03-10T12:00:00.000Z",
"updated_at": "2026-03-10T12:05:00.000Z",
"name": "<string>",
"total_credits": 8000,
"repo_results": [
{
"repo_url": "https://github.com/owner/repo",
"status": "completed",
"from_cache": false,
"branch": "main",
"commit_sha": "abc123def456",
"applications": [
{
"app_name": "backend-api",
"app_root_path": "apps/api",
"architecture": "NestJS REST API with PostgreSQL"
}
],
"credits": 4000,
"error": "<string>",
"failure_reason": "unsupported_language",
"unsupported_languages": [
"<string>"
]
}
],
"error": "<string>"
}
],
"total": 123
}List cost estimations for your organization.
curl --request GET \
--url https://api.hacktron.ai/v1/cost-estimations \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.hacktron.ai/v1/cost-estimations"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.hacktron.ai/v1/cost-estimations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hacktron.ai/v1/cost-estimations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hacktron.ai/v1/cost-estimations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hacktron.ai/v1/cost-estimations")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hacktron.ai/v1/cost-estimations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"organization_id": "f336d0bc-b841-465b-8045-024475c079dd",
"user_id": "f336d0bc-b841-465b-8045-024475c079dd",
"task_id": "cost_est_owner-repo_12345",
"status": "completed",
"repos": [
{
"repo_url": "https://github.com/owner/repo",
"branch": "main",
"commit_sha": "abc123def456",
"archive_id": "<string>"
}
],
"triage_required": false,
"triage_fee_credits": 1600,
"created_at": "2026-03-10T12:00:00.000Z",
"updated_at": "2026-03-10T12:05:00.000Z",
"name": "<string>",
"total_credits": 8000,
"repo_results": [
{
"repo_url": "https://github.com/owner/repo",
"status": "completed",
"from_cache": false,
"branch": "main",
"commit_sha": "abc123def456",
"applications": [
{
"app_name": "backend-api",
"app_root_path": "apps/api",
"architecture": "NestJS REST API with PostgreSQL"
}
],
"credits": 4000,
"error": "<string>",
"failure_reason": "unsupported_language",
"unsupported_languages": [
"<string>"
]
}
],
"error": "<string>"
}
],
"total": 123
}readlimit + offset) instead of page + limit. See Pagination, filtering &
sorting for the general conventions.