Skip to content

Single lookup

Find ranked page passages for a question

Page URL, title and the passages that best answer the question, for an AI to read

Run it.From your AI, or try it here.

Use Ahel to find ranked page passages for a question. Query: <query>

Try it

Paste this into ChatGPT or Claude connected to Ahel.

You get: page URL, title and the passages that best answer the question, for an AI to read.

For developers
Action id
web.search.context
Inputs
  • query: The question or search words, at most 75 words.
  • country (optional): Two-letter country code in lower case, e.g. United States (us) or Estonia (ee).
  • search_lang (optional): Language of the results, as a short code; of the results, e.g. English (en) Odia (or) Estonian (et).
  • freshness (optional): How recent: pd (24 hours), pw (7 days), pm (31 days), py (1 year), or a range such as 2026-01-01to2026-03-31.
  • max_tokens (optional): Most text to return across all pages, in tokens (default 8192).
HTTP call
curl -s https://ahel.ai/api/platform/v2/actions/web.search.context/runs \
  -H "Authorization: Bearer $AHEL_TOKEN" -H "Content-Type: application/json" \
  -d '{"inputs":{"query":"<query>"},"max_cost_usd":"<your cap>"}'
API reference

More on Company Data.Other single lookups.

Not affiliated with the platforms named. Names and logos belong to their owners.