Skip to main content
POST
/
page-analyze
curl --request POST \
  --url https://api.tryhuntr.com/page-analyze \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "https://stripe.com/pricing",
  "prompt": "What is the price of the Pro plan?"
}
'
{
  "success": true,
  "request_id": "req_1746123456_pa1x2y",
  "url": "https://stripe.com/pricing",
  "answer": "The Pro plan costs $99 per month, billed annually.",
  "price": 0.012,
  "credits_remaining": 4.988
}

Authorizations

x-api-key
string
header
required

Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on all authenticated requests.

Body

application/json
url
string
required

The public URL to fetch and analyze, e.g. https://stripe.com/pricing.

prompt
string
required

Your question or instruction, e.g. Find the ICP and key value propositions.

schema
object

Optional. When provided, the LLM returns JSON matching this schema instead of a text answer. Keys are field names, values describe the expected type (e.g. "string", "number", ["string"]).

Response

Analysis complete. answer is a string in text mode, or an object in schema mode.

success
boolean
request_id
string
url
string

The URL that was analyzed.

answer
any

String in text mode. Object matching your schema in schema mode.

price
number

$0.012 when analysis is returned.

credits_remaining
number