mcp-server icon indicating copy to clipboard operation
mcp-server copied to clipboard

stats api 400s for every documented proxyType on web data api accounts

Open guyposka opened this issue 1 month ago • 1 comments

no way to get web data api usage from the api, every documented proxyType on the stats endpoint 400s

account with only the web data api (GET /v2/subscriptions → []):

curl -sS https://api.decodo.com/api/v2/statistics/traffic -H "Authorization: $DECODO_DASHBOARD_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"proxyType":"<type>","startDate":"<from> 00:00:00","endDate":"<to> 23:59:59","groupBy":"day"}'
proxyType (from the get-traffic docs) response
residential_proxies 400 Client has no residential_proxies subscriptions
mobile_proxies 400 Client has no mobile_proxies subscriptions
rtc_universal_proxies 400 Client has no rtc_universal_proxies subscriptions
rtc_universal_core_proxies 400 Client has no rtc_universal_core_proxies subscriptions
modular_scraper 400 Client has no modular_scraper subscriptions

the dashboard shows requests, success rate and spend for the web data api, and the migration guide moves everyone to it, so the stats api not covering it looks like a gap. is there a proxyType for it, or is it coming?

once it's there a usage tool in the mcp (and the cli) would be handy so agents can check requests / spend before a big batch. it'd need the dashboard key, not the scraping token

guyposka avatar Oct 12 '26 12:10 guyposka

Thanks for the write-up, and sorry it took a while to come back to you.

You're right that this is a gap: there's no proxyType that covers the Web Data API today, so the traffic endpoint can't report its usage, which is why every documented value 400s on an account that only has it.

I've passed it on to the team. It's expected to be covered in a future version, but I don't have a timeline I can share yet.

I'll leave this open and update here once there's something concrete. And noted on the usage tool for the MCP server and the CLI - that makes sense to add once the data is actually exposed.

pauliusminialga-dc avatar Nov 11 '26 11:11 pauliusminialga-dc