Crawl4AIDonnées web et SEOSEO/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/successAu prix du fournisseur
Success rate
97,7 %Last 30 days · 2 074 calls
Latency p50
4.9 sp95 11 s
Last verified
7 oct. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/crawl4ai.web.answer?q=who+founded+stripePreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
qchaîneObligatoirethe question or prompt, up to 4,000 characters; say the shape you want inside it, e.g. 'answer with JSON only: {...}'who founded stripe
glchaîneFacultatifsearch country, e.g. us
hlchaîneFacultatifsearch language, e.g. en
deepentierFacultatif1 reads pages and writes an answer when the web has none; 0 returns only the web's own direct answer, else answered false
schemachaîneFacultatifa JSON Schema object as a JSON string, up to 4,000 bytes; the answer is then JSON of exactly that shape (parse answer.text)
nocacheentierFacultatif1 skips every cache
  • Paramètres de requête
  • qchaîneObligatoire

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

    Exemple : who founded stripe

  • glchaîneFacultatif

    search country, e.g. us

  • hlchaîneFacultatif

    search language, e.g. en

  • deepentierFacultatif

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

  • schemachaîneFacultatif

    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)

  • nocacheentierFacultatif

    1 skips every cache

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

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

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00215/success, frais de service inclus.