Search API

The Search API is the core endpoint for performing web searches. Send a query and receive structured results.

Endpoint

POST https://api.scavio.dev/api/v1/search

Headers

HeaderValueRequired
AuthorizationBearer YOUR_API_KEYYes
Content-Typeapplication/jsonYes

Request Body

{
  "query": "your search query here"
}

Full Example

curl -X POST 'https://api.scavio.dev/api/v1/search' \
  -H 'Authorization: Bearer sk_live_your_key' \
  -H 'Content-Type: application/json' \
  -d '{"query": "best project management tools"}'

Response

{
  "results": [
    {
      "title": "10 Best Project Management Tools in 2026",
      "url": "https://example.com/best-pm-tools",
      "description": "Compare the top project management software...",
      "position": 1
    },
    {
      "title": "Project Management Software Reviews",
      "url": "https://example.com/pm-reviews",
      "description": "In-depth reviews of popular PM tools...",
      "position": 2
    }
  ],
  "credits_used": 1,
  "credits_remaining": 999
}

Related