# Find AI-cited sources with Rust

Send a query to the Getspotted API from Rust and get back the sources AI engines (ChatGPT, Claude, Perplexity, Gemini) and Google cite for it, per country. Authenticate with Authorization: Bearer gsp\_live\_…

## Call the API

```rust
let res = reqwest::Client::new()
    .post("https://getspotted.ai/api/v1/search")
    .header("Authorization", "Bearer gsp_live_…")
    .json(&serde_json::json!({ "query": "best CRM for B2B SaaS", "country": "US" }))
    .send()
    .await?;
```

Each search costs 10 credits. The response shape is `{ success, data: { sources, hotspots, enginesQueried } }` — every source lists the engines that cited it and its per-engine position.

## Next steps

[API reference Every endpoint and field.](/content/docs/api-reference/index.html) [MCP server Call it from an AI agent instead.](/content/mcp/index.html)

## Other languages

[cURL Quickstart](/content/docs/quickstart/curl/index.html) [JavaScript Quickstart](/content/docs/quickstart/javascript/index.html) [Next.js Quickstart](/content/docs/quickstart/nextjs/index.html) [Python Quickstart](/content/docs/quickstart/python/index.html)
