Skip to content
Gridlode
Launching soonAI extractionUsage-based

AI Data Extraction API

Structured JSON from any web page, extracted by Claude. Give a URL and either a JSON Schema or a plain list of the fields you want (with optional instructions); the page is fetched (optionally rendered in Chrome), reduced to its main content as Markdown and read by the model, which only returns values that appear on the page. Billed by the model's actual token usage plus one credit for the page, never above your max_credits.

GEThttps://api.gridlode.com/v1/ai/extract
This engine is built and switches on as soon as our AI model access is connected. Join early access through the contact form and we'll email you on launch day.

Parameters

NameTypeDescription
urlrequiredstringPublic http(s) URL of the page to extract from.
schemastringJSON Schema of the object to return. Give schema or fields.
Default: null
fieldsstringField names to extract, optionally with a description: ['company', 'price: monthly price of the cheapest plan'] or {'company': 'company name'}. Give schema or fields.
Default: null
instructionsstringExtra guidance for the extraction, e.g. 'prices in EUR only'.
Default: null
renderbooleanRender JavaScript in real Chrome before reading the page (+1 credit).
Default: false
wait_msintegerWith render=true: extra wait after load.
Default: 1000
contentstring'main' = the page's main content as Markdown (boilerplate removed); 'full' = all visible text.
Default: "main"
One of: main, full
include_linksbooleanKeep link URLs in the text sent to the model.
Default: false
respect_robotsbooleanRefuse URLs disallowed by the site's robots.txt.
Default: true
max_charsstringTruncate the page text to this many characters (the server limit applies when lower; default 60,000).
Default: null
max_creditsintegerThe most this call may cost. The actual charge follows the model's token usage and is never higher.
Default: 150
max_ageintegerAccept a cached answer up to this many seconds old, billed at 50%. Default 0 (always fresh).

Response fields

    Code

    curl "https://api.gridlode.com/v1/ai/extract?" \
      -H "Authorization: Bearer $GRIDLODE_KEY"
    Billed by actual usage (set max_credits to cap it)
    One credit is $0.001 on the smallest pack, from $0.0003 on enterprise plans.
    Half price for cached data
    Cached for up to 1 h. Pass max_age to use it.
    Failed requests are free
    Blocks, timeouts and target errors never cost credits.

    Market reference: Firecrawl Extract ~$5-20 per 1k pages (token-based) · ScrapeGraphAI ~$10-20 per 1k.

    Questions

    How much does the AI Data Extraction API cost?

    Billed by actual usage (set max_credits to cap it). One credit costs $0.001 on the smallest pack and as little as $0.0003 on enterprise plans. Cached answers cost half and failed calls are free.

    AI extraction
    All 2 in AI extraction · 0 live