# Find AI-cited sources with Go

Send a query to the Getspotted API from Go 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

```go
body := strings.NewReader(`{"query":"best CRM for B2B SaaS","country":"US"}`)
req, _ := http.NewRequest("POST", "https://getspotted.ai/api/v1/search", body)
req.Header.Set("Authorization", "Bearer gsp_live_…")
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
```

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)
