Skip to main content
You need an API key to follow this guide. Get one from the API Console.
1

Get your API key

Sign in to the API Console and create an API key. Copy it — you’ll need it for the next step.
2

Make your first request

Send a search query using the x-api-key header:
curl "https://search-api.andisearch.com/api/v1/search?q=what+is+RAG" \
  -H "x-api-key: YOUR_API_KEY"
3

Read the response

The API returns a JSON object with top-level fields and a results array. Each result includes a title, link, desc, and source:
{
  "results_type": "search",
  "answer": "",
  "type": "search",
  "title": "what is RAG",
  "results": [
    {
      "title": "Retrieval-Augmented Generation (RAG) Explained",
      "link": "https://example.com/rag-explained",
      "desc": "RAG combines a retrieval system with a language model to generate responses grounded in retrieved documents.",
      "source": "example.com",
      "type": "website"
    }
  ],
  "metrics": {
    "query": "what is RAG",
    "intent": "FallbackSearchIntent",
    "duration": 234,
    "results_returned": 10,
    "total_results_found": 42
  }
}

Next steps