cURL
curl --request POST \ --url https://api.ceramic.ai/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "query", "params": { "query": "California rental laws" }, "id": 1 } '
{ "jsonrpc": "2.0", "id": 1, "result": { "results": [ { "title": "California Tenant Rights Guide", "url": "https://example.com/california-tenant-rights", "description": "Comprehensive guide to California rental laws...", "score": 14.523 } ], "totalResults": 10, "searchMetadata": { "executionTime": 0.097 } } }
Search the web and retrieve relevant content. Uses JSON-RPC 2.0 format.
API key authentication. Include your API key as a Bearer token.
JSON-RPC version. Must be "2.0".
2.0
The method to call. Use "query" for search.
query
Show child attributes
A unique identifier for the request.
1
Successful search response
JSON-RPC version. Always "2.0".
The request ID you provided.