Skip to main content

1. Get your API key

Sign up at snipex.dev/dashboard and create an API key. Keys are prefixed with snx_.

2. Make your first request

curl -X POST https://api.snipex.dev/v1/search \
  -H "Authorization: Bearer snx_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "latest advances in quantum computing",
    "num_results": 3,
    "search_depth": "balanced"
  }'

3. Understand the response

{
  "query": "latest advances in quantum computing",
  "results": [
    {
      "rank": 1,
      "url": "https://example.com/quantum-2024",
      "title": "Quantum Computing Breakthroughs in 2024",
      "snippets": [
        {
          "text": "IBM's Condor processor achieved over 1,000 qubits with a significantly lower error rate than previous generations...",
          "relevance_score": 0.96
        },
        {
          "text": "Google's Willow chip demonstrated quantum error correction that improves exponentially as the system scales.",
          "relevance_score": 0.91
        }
      ],
      "publish_date": "2024-12-15"
    }
  ],
  "total_latency_ms": 847
}
Each snippet contains:
  • text — a verbatim passage from the source page
  • relevance_score — how relevant this passage is to your query (0.0–1.0)

4. Try the playground

Don’t want to write code yet? Try the live Playground to experiment with queries, see real results, and copy the equivalent code.

Next steps

Authentication

Learn how API keys work and how to keep them secure

Search depth

When to use precise vs. exhaustive mode

Domain filtering

Restrict or exclude specific domains

Full API reference

Every parameter and response field documented