PeumeAPI

Search & SEO

Answer a question with citations

Get an LLM answer to a question informed by search results. Fully compatible with OpenAI's chat completions endpoint.

$0.0075 per 1,000 callsBackup source if the first one failsUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/answer-a-question-with-citations \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "What year was the HNSW algorithm paper published and by whom?"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: answer-a-question-with-citations.

Parameters

queryRequiredstring

a question or instruction; searches, reads, and writes an answer with citations

Example: What year was the HNSW algorithm paper published and by whom?

textboolean

true also returns the full text of each cited page

outputSchemaobject

JSON Schema draft-7; when set, `answer` is a JSON object in that shape instead of prose

streamboolean

server-sent events; leave false through the proxy

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.