Exa Contents API
Fetch clean, LLM-ready content for a list of URLs.
Data from Exa.
Category: Search And Extraction
Price
$0.00135 per successful call ≈ 740 calls with the $1 signup credit.
Workload cost breakdown
| Volume | Wallet usage |
|---|---|
| 1 successful call | $0.00135 |
| $1 signup credit capacity | ≈ 740 calls |
| 100 successful calls | $0.135 |
| 1,000 successful calls | $1.35 |
| Failed, blocked, or 5xx call | $0 |
Operation specification
| Property | Value |
|---|---|
| Public tool ID | exa/contents |
| Direct REST endpoint | POST https://keepbal.com/apis/v1/exa/contents |
| Envelope REST endpoint | POST https://keepbal.com/apis/v1/run (publicId: "exa/contents") |
| MCP meta-tool | run_tool (tool: "exa/contents" at https://keepbal.com/mcp) |
| Required path parameters | None |
| Known input fields | urls, text |
| Failed or timed-out call fee | $0.00 |
Known example parameters are illustrative and may be incomplete; inspect all required inputs before running.
Discover
curl https://keepbal.com/apis/v1/discover -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"query":"Exa"}'Inspect
curl https://keepbal.com/apis/v1/inspect -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"publicId":"exa/contents"}'curl
curl https://keepbal.com/apis/v1/exa/contents \
-H 'Authorization: Bearer YOUR_KEEPBAL_KEY' \
-H 'Content-Type: application/json' \
-d '{"body":{"urls":["https://example.com"],"text":true}}'MCP run_tool
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run_tool",
"arguments": {
"tool": "exa/contents",
"input": {
"body": {
"urls": [
"https://example.com"
],
"text": true
}
}
}
}
}Python
import json, os, requests
# Inspect first and replace input_data with the required parameters.
input_data = json.loads("{\"body\":{\"urls\":[\"https://example.com\"],\"text\":true}}")
response = requests.post(
"https://keepbal.com/apis/v1/exa/contents",
headers={"Authorization": "Bearer " + os.environ["KEEPBAL_API_KEY"]},
json=input_data,
)
response.raise_for_status()
print(response.json())JavaScript (fetch)
const inputData = JSON.parse("{\"body\":{\"urls\":[\"https://example.com\"],\"text\":true}}");
const response = await fetch("https://keepbal.com/apis/v1/exa/contents", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.KEEPBAL_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify(inputData),
});
if (!response.ok) throw new Error("HTTP " + response.status);
console.log(await response.json());Errors and billing
Failed provider calls are not charged. HTTP 400 invalid_request means invalid JSON or parameters, including missing pathParams. HTTP 401 missing_api_key or invalid_api_key means authentication is required. HTTP 402 insufficient_credits means insufficient balance; top up before retrying. HTTP 503 provider_unavailable means the provider is unavailable. A pending run can settle later; poll GET /apis/v1/runs/{id} instead of starting another execution.
Frequently asked questions
How much does the Exa Contents API cost?
$0.00135 per successful call ≈ 740 calls with the $1 signup credit. Unsuccessful or timed-out upstream calls charge $0.
How do I call exa/contents from Python, JavaScript, or MCP?
Send POST https://keepbal.com/apis/v1/exa/contents with Authorization: Bearer YOUR_KEEPBAL_KEY, or call MCP run_tool with tool "exa/contents" at https://keepbal.com/mcp.
What parameters does exa/contents require?
Documented input keys: urls, text. Call POST /apis/v1/inspect with {"publicId":"exa/contents"} at $0 to check inputs before running.
Do I need a separate Exa subscription?
No. One KeepBal API key and one prepaid balance cover this operation with no monthly subscription. Exa describes the data source and does not imply vendor affiliation.
Related tools
| Tool | What it returns | Price |
|---|---|---|
| Exa Search | Search the web and extract contents from the results. | Variable: provider price plus 35% |
| Chatgpt Ask | Get ChatGPT's consumer-app answer to a prompt, with cited sources, in a chosen country. | Variable: provider price plus 35% |
| Copilot Ask | Get Copilot's consumer-app answer to a prompt, with cited sources, in a chosen country. | Variable: provider price plus 35% |
| Gemini Ask | Get Gemini's consumer-app answer to a prompt, with cited sources, in a chosen country. | Variable: provider price plus 35% |
| Google AI Mode | Get Google AI Mode's answer to a prompt, with cited sources and product cards. | Variable: provider price plus 35% |
| Google News | Search Google News as a user in a chosen country and get the articles as JSON. | Variable: provider price plus 35% |