New to Corsair? See API access, authentication, and error handling.
Account
getCredits
account.getCredits
Get the credits left on the API key. The balance lags by about 10 minutes.
Risk: read
response. The balance lags by about 10 minutes. It spends no credits.
Output
Proxy
checkProxy
proxy.checkProxy
Check whether an IP address is a proxy, VPN, Tor exit, or data-center address.
Risk: read
Omit
ip and the service looks up the caller address. Omit package and the service uses PX1. Lower packages leave the later response fields out, so only response is required. A lookup with an explicit ip is saved to the checks table under that address, replacing the previous row for it; a lookup without ip is returned but not saved, and a failed save does not fail the lookup.
Output