The whole live snapshot as one gzip CSV, behind a short-lived signed link (secret keys only)
GET
/v1/traffic/snapshot
const url = 'https://api.tareky.com/v1/traffic/snapshot';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tareky.com/v1/traffic/snapshot \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”x-access-key-id
string
Legacy key id (until its sunset)
Responses
Section titled “Responses”Media typeapplication/json
object
version
required
string
createdAt
required
string format: date-time
rows
required
Segments in the file
integer
format
required
string
columns
required
The CSV columns, in order; no header row
Array<string>
url
required
Where to download the file: a signed link that expires at expiresAt
string
expiresAt
required
string format: date-time
attribution
required
Credit the data as shown: it is derived from OpenStreetMap (ODbL)
string
Example
{ "format": "csv.gz"}Rate limit or monthly quota exceeded; see Retry-After
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable code, e.g. quota_exceeded, no_route
string
message
required
string
status
required
integer
details
For invalid_request: the validation issues
docsUrl
required
string
requestId
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "status": 1, "details": "example", "docsUrl": "example" }, "requestId": "example"}default
Section titled “default”Any other error, in the /v1 error envelope
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable code, e.g. quota_exceeded, no_route
string
message
required
string
status
required
integer
details
For invalid_request: the validation issues
docsUrl
required
string
requestId
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "status": 1, "details": "example", "docsUrl": "example" }, "requestId": "example"}