API & MCP
Getting started with the API
Create an API key and make your first read-only request to the SearchOps API.
On this page
The SearchOps API lets you pull your data into your own tools, dashboards, or scripts. Version 1 is read-only, so it is a safe way to read your locations, scans, keywords, and reports programmatically.
What you'll need
- A plan that includes API access. The API is available on Pro and above.
Create an API key
- Go to Settings and find the API access card.
- Enter a name for the key, such as "Reporting script" or "Zapier", and select Create key.
- Copy the key straight away. It starts with
lp_live_and is shown once only, for security.
You can see your keys, when each was last used, and revoke any of them from the same card.
Warning: Treat a key like a password. Never commit it to a public repository or put it in client-side code. If one is exposed, revoke it and create a new one.
Make your first request
Send your key as a bearer token in the Authorization header. For example, to list your locations:
curl https://searchops.co.uk/api/v1/locations \
-H "Authorization: Bearer lp_live_your_key_here"
A successful response looks like:
{ "data": [ ... ], "pagination": { "limit": 50, "offset": 0 } }
If you get a 401, the key is missing, wrong, or revoked, or your plan does not include API access.
What you can read (v1)
All endpoints are GET only:
/api/v1/locationsand/api/v1/locations/{id}/api/v1/locations/{id}/keywords/api/v1/scansand/api/v1/scans/{id}/api/v1/reportsand/api/v1/reports/{id}
List endpoints accept limit (up to 100) and offset for paging, and /scans accepts a locationId filter. Every key is scoped to your account, so you only ever read your own data.
Note: Version 1 is read-only. It does not create scans or change data. Write access is planned for a future version.
Next steps
- Want an agent to read your data through a standard protocol? See Connect the MCP server.
Related articles
Still stuck? Contact our support team and we'll help you out, usually within one UK working day.