PeumeAPI

Search & SEO

Search the web and extract a structured answer

Search HTML pages, return their Markdown, and run one AI extraction across the results.

$0.6 per lookup, only when foundUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/search-the-web-and-extract-a-structured-answer \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "example pricing",
    "numResults": 1,
    "prompt": "Return the listed one-time price of the smallest credit pack.",
    "format": "markdown",
    "allowedTypes": [
      "text/html"
    ]
  }
}'

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: search-the-web-and-extract-a-structured-answer.

Parameters

queryRequiredstring

Example: example pricing

numResultsinteger

Example: 1

promptRequiredstring

Example: Return the listed one-time price of the smallest credit pack.

schemaobject

Optional JSON Schema for the top-level json field.

formatRequiredstring

markdown

Example: markdown

timeRangestring

past_hour · past_24_hours · past_week · past_month · past_year

locationGeoCodestring

ISO 3166-1 alpha-2 country code.

allowedTypesRequiredarray

Example: ["text/html"]

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.