API reference
Every route of the public API, version 1.0.0.
Every route starts with this address:
Base address
https://lenseo.io/api/public/v1- Send JSON, receive JSON. Ids are UUIDs; times are ISO 8601 with their offset.
- Every request needs an API key, except a report's PDF link: see Authentication.
- The numbers are the same as LenSEO's pages, each with its date.
- The whole API as an OpenAPI document: openapi.json.
Account
The account a key works on.
Locations
Businesses and their locations: find a location's id here first.
Scans
Rank scans: the four scores, the map's squares and who shows up around you. Starting one spends credits.
- GET
/locations/{location_id}/scan-priceGet a scan's price - GET
/locations/{location_id}/scansList a location's scans - POST
/locations/{location_id}/scansStart a scan - GET
/locations/{location_id}/scans/latestGet the latest scan - GET
/scansList recent scans - GET
/scans/{scan_id}Get a scan - GET
/scans/{scan_id}/competitorsGet a scan's competitors - GET
/scans/{scan_id}/mapGet a scan's map
Plan and AI
The plan's actions and checks, and what AI answers say about you.
Reports
PDF reports and view-only share links. Making a report is free.
Webhooks
Have LenSEO send scan.finished or report.ready to your address.