Integration and recovery guide
- 01
Discover → Quote → Approve budget → Execute → Retrieve
Call the HTTPS API with an API key. Quoting does not call a paid provider. Save your idempotency key and request body. If a response is lost, recover with the same values instead of creating another paid request.
curl https://api.anyuse.app/v1/quotes \ -H "Authorization: Bearer $ANYUSE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "operation": "search.exa.web", "input": { "query": "agent tools" } }' - 02
When requires_budget is true, set an explicit maximum budget; otherwise use price_usd. An unknown outcome requires billing reconciliation and does not mean a free failure.
curl 'https://api.anyuse.app/v1/executions?wait_ms=10000' \ -H "Authorization: Bearer $ANYUSE_API_KEY" \ -H "Idempotency-Key: $SAVED_IDEMPOTENCY_KEY" \ -H "Content-Type: application/json" \ -d '{"quote_id":"<quote.id>","max_cost_usd":"<approved budget>"}' curl https://api.anyuse.app/v1/executions/<execution.id> \ -H "Authorization: Bearer $ANYUSE_API_KEY" - 03
MCP integration
MCP (Model Context Protocol) lets an assistant discover and call Anyuse tools. It uses the same account, quotes, spending limits and execution records as the HTTP API.
MCP integration - OpenAPI 3.1Download Agent guideJavaScript SDK