The Statistics API returns near real-time statistics from your Stripcash account, using the same filters available in the interface.
- Generate an API key on the Statistics API keys page.
Build the report you want in the UI, then copy the query string from the URL.
Encoded:
?id=4068736&groups%5B%5D=groupTotal&filters%5BincludeTraffic%5D=true&filters%5Bfrom%5D=2024-04-21&filters%5Bto%5D=2024-04-27
Decoded:
?id=4068736&groups[]=groupTotal&filters[includeTraffic]=true&filters[from]=2024-04-21&filters[to]=2024-04-27
- Swap the endpoint for the statistics endpoint and append your query string. Base URL:
https://api.stripcash.com/external/v1Endpoint:/user/statistics - Add the authorization header to your request: Authorization: Bearer <secret>