DataForSEO Claude LLM Response
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/claude/llm_responses/liveSend a prompt to Claude and get the answer with token usage, for AI visibility checks.
- Price
- $0.0016USD / call
- Method
- POST
- Response
- JSON
- Parameters
- 0 required · 0 optional
Playground
Your output will appear here
Complete the inputs, then click Run.
API README
DataForSEO Claude LLM Response API
Send a prompt to Claude and get the answer with token usage, for AI visibility checks.
Request fields follow the official DataForSEO /v3/ai_optimization/claude/llm_responses/live task schema (one task per call). The response is DataForSEO's original JSON; results are in tasks[].result.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/claude/llm_responses/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_prompt": "best running shoes 2026", "model_name": "claude-haiku-4-5", "max_output_tokens": 200}'
Parameters
The JSON body is forwarded to the upstream endpoint. Main fields:
| Name | Description |
|---|---|
user_prompt | The prompt to send. |
model_name | Model name from the vendor's model list. |
max_output_tokens | Optional cap on answer length; longer answers cost more. |
system_message | Optional system instruction. |
web_search | Optional: let the model search the web (where supported). |
Reference
Pricing
Billed at the actual cost of each call, about $0.00162 for the request above. The cost grows with the number of rows, targets or tokens a call returns. Failed calls are not charged. Searches with no results are billed at their actual cost.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/claude/llm_responses/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"2. Authentication
Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
3. Parameters
No parameter schema has been published for this API.
4. Response
Saved example response for this API; no live request is made when viewing it.
No saved response has been published. Run the API in Playground to inspect its response.
Explore more
Related APIs
| API | Price | Response |
|---|---|---|
DataForSEO Claude LLM ResponseThis API DataForSEO | From $0.0016 per call | JSON |
DataForSEO | From $0.01 per call | JSON |
DataForSEO | From $0.0007 per call | JSON |
DataForSEO | $0.004 per call | JSON |
DataForSEO | From $0.0011 per call | JSON |
DataForSEO | $0.004 per call | JSON |
Questions
FAQ
How do I use the DataForSEO Claude LLM Response API?
Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/claude/llm_responses/live with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the DataForSEO Claude LLM Response API cost?
From $0.0016 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.
What parameters does the DataForSEO Claude LLM Response API accept?
DataForSEO Claude LLM Response takes no input parameters; send an empty JSON body.
What does the DataForSEO Claude LLM Response API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a DataForSEO developer account or API key?
No. DataForSEO Claude LLM Response runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.
