cURL
curl --request GET \ --url https://anyip.io/api/traffics \ --header 'api-key: <api-key>'
{ "hydra:member": [ { "@id": "<string>", "@type": "<string>", "id": "<string>", "date": "2023-11-07T05:31:56Z", "requests": 123, "bytes_recv": 123, "bytes_sent": 123, "consumption": 123, "consumption_str": "<string>" } ], "hydra:totalItems": 1, "hydra:view": { "@id": "string", "type": "string", "hydra:first": "string", "hydra:last": "string", "hydra:previous": "string", "hydra:next": "string" }, "hydra:search": { "@type": "<string>", "hydra:template": "<string>", "hydra:variableRepresentation": "<string>", "hydra:mapping": [ { "@type": "<string>", "variable": "<string>", "property": "<string>", "required": true } ] } }
Retrieves the collection of Traffic resources.
Value for the api-key header parameter.
Traffic collection
Show child attributes
x >= 0
{ "@id": "string", "type": "string", "hydra:first": "string", "hydra:last": "string", "hydra:previous": "string", "hydra:next": "string" }