Usage Endpoint

Retrieve current API usage statistics for your API key

The Usage endpoint returns real-time usage statistics for your authenticated API key, including daily and monthly request counts, rate limits, and your current subscription plan.

GEThttps://api.allnewsapi.com/usage

Query Parameters

Name
Type
Default Value
Description
apikeyRequired
string—

Your API key for authentication. Get your API key from the dashboard

Response

The API returns a JSON object containing your current usage statistics.

Name
Type
Default Value
Description
plan
string—

Your current subscription tier (free, starter, pro, business, enterprise)

requestsUsed24Hours
integer—

The number of API requests made in the current 24-hour window

requestsLimit24Hours
integer—

The maximum number of requests allowed per day on your current plan

requestsRemaining24Hours
integer—

The number of requests remaining before hitting the daily limit

requestsUsed30Days
integer—

The total number of API requests made in the current 30-day period

Example Response

Response

Example Request

Errors

StatusCondition
401Invalid or missing API key