Usage Endpoint

To programmatically monitor credit consumption and concurrency usage, use the /usage endpoint.

Calls to this endpoint will not increase concurrency, but you can only call it 6 times per minute.

Please note that the results are available in real-time.

Example: Get usage information

1curl "https://www.foxscrape.com/api/v1/usage?api_key=YOUR_API_KEY"

Response:

JSON
1{
2  "max_api_credit": 20000000,
3  "used_api_credit": 3704332,
4  "max_concurrency": 200,
5  "current_concurrency": 1,
6  "renewal_subscription_date": "2022-04-18T10:05:58.134716"
7}