Crawl4AIWeb & SEO DataSEO/AEO

Answer a question from the web, prose or JSON

crawl4ai.web.answer

Answers a question or a whole agent prompt (up to 4,000 characters) from the web's current top results, with the pages it drew on. Ask for JSON in the question, or pass a JSON Schema, and the answer is JSON of that shape. answer.source says whether the text is Google's own answer (google_ai_mode, google_ai_overview) or written from the pages (crawl4ai). answered is false, and free, when the pages hold no answer. Experimental: fields may be added.

Price
$0.00215/successAt provider cost
Success rate
97.7%Last 30 days · 2,074 calls
Latency p50
4.9 sp95 11 s
Last verified
Oct 7, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/crawl4ai.web.answer?q=who+founded+stripePreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Query parameters
qstringRequiredthe question or prompt, up to 4,000 characters; say the shape you want inside it, e.g. 'answer with JSON only: {...}'who founded stripe
glstringOptionalsearch country, e.g. us
hlstringOptionalsearch language, e.g. en
deepintegerOptional1 reads pages and writes an answer when the web has none; 0 returns only the web's own direct answer, else answered false
schemastringOptionala JSON Schema object as a JSON string, up to 4,000 bytes; the answer is then JSON of exactly that shape (parse answer.text)
nocacheintegerOptional1 skips every cache
  • Query parameters
  • qstringRequired

    the question or prompt, up to 4,000 characters; say the shape you want inside it, e.g. 'answer with JSON only: {...}'

    Example: who founded stripe

  • glstringOptional

    search country, e.g. us

  • hlstringOptional

    search language, e.g. en

  • deepintegerOptional

    1 reads pages and writes an answer when the web has none; 0 returns only the web's own direct answer, else answered false

  • schemastringOptional

    a JSON Schema object as a JSON string, up to 4,000 bytes; the answer is then JSON of exactly that shape (parse answer.text)

  • nocacheintegerOptional

    1 skips every cache

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/crawl4ai.web.answer?q=who+founded+stripe' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00215/success, including the service fee.