Skip to main content

GET /api/report

Requires Bearer token.
Generate a branded PDF location report. Query parameters
NameTypeRequiredDefaultDescription
latfloatLatitude.
lngfloatLongitude.
namestringLocation ReportReport title / location name.
profilestringgeneralScoring profile.
clientstringClientClient name for the report header.
Example
curl "https://axiomlocus.io/api/report?lat=37.7749&lng=-122.4194&name=Mission+District" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -o report.pdf
Response
# Binary PDF response
Content-Type: application/pdf
Content-Disposition: attachment; filename="axiom-locus-report-mission-district.pdf"

GET /api/places-photo

Proxy for business photos. Query parameters
NameTypeRequiredDefaultDescription
refstringPhoto reference string from POI data.
wint100Image width in pixels.
Example
curl "https://axiomlocus.io/api/places-photo?ref=Aap_uE...&w=200" -o photo.jpg
Response
# Binary JPEG response
Content-Type: image/jpeg