---
title: "Get GeoIP attribution"
method: GET
path: "/api/traffic/attribution"
tags: ["Traffic Analytics"]
---

# Get GeoIP attribution

`GET /api/traffic/attribution`

License attribution string for whichever GeoIP data source is
currently active (resolved at runtime — see README.md's GeoIP
licensing section).

## Response `200`

Active GeoIP source's attribution string, or null

- TrafficAttribution
  - `attribution` string, nullable — The active GeoIP source's required attribution string, or null when GeoIP is disabled, not yet resolved, or the active source is an unrecognized GEOIP_DB_URL override.

## Other responses

- `401` — Unauthorized - missing or invalid authentication token
- `404` — Traffic analytics isn't enabled — the binary lacks the `traffic` Cargo feature, TRAFFIC_ENABLED isn't true, or the analytics database failed to open.
- `500` — Internal server error

---

[API](https://skmtc.net/coollabsio/apis/sentinel-api.md) · [All operations](https://skmtc.net/coollabsio/apis/sentinel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/sentinel-api/revisions/ba1ba2f4b919/schema)
