url to json

Turn a public web page into structured JSON.

Paste a public URL. Describe the fields you want. Get clean JSON with trace evidence instead of brittle selectors.

first request
curl https://hauntapi.com/v1/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $HAUNT_API_KEY" \
  -d '{"url":"https://example.com","prompt":"Extract the page title, summary, useful links, and visible business facts as JSON. Use null for missing fields."}' 
1

Try it without a key.

The demo returns fixed sample JSON so you can see the shape before signing up.

2

Get a free key.

Free includes 1,000 credits per month. No credit card.

3

copy one real extraction command.

Start with a public page and a narrow prompt. Check success and trace.

free key

Make the first real call.

Use this page when the job matches what you need. If the site is login-only, CAPTCHA-gated, or thin public content, Haunt returns a clean failure instead of pretending.

Get your key.