Fetch the API token making the request, the limits of the plan it belongs to, and your usage so far this month. An application or agent can use this to find out what it is allowed to do and how much of its allowance is left, all in one request.
Any active API token can call this endpoint, whatever its permissions.
GET https://api.jsonpad.io/tokens/selfcurl https://api.jsonpad.io/tokens/self \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>"No parameters
x-api-tokenstringYour API token.No request body
{token: {id: "2225bfa7-c4cd-4d62-b082-6a5dd8f0f62b"createdAt: "2026-09-11T16:56:03.634Z"updatedAt: "2026-09-11T16:56:03.634Z"name: "Sample Token"permissions: [0: {mode: "allow"action: "*"}]ips: nullexpiresAt: nullactivated: truedescription: "Sample token description"locked: false}plan: {id: "free"name: "Free Plan"rateLimit: 100maxRequestsPerMinute: 60maxRequestsPerMonth: 25000overdraftPercent: 0maxStorageBytes: 104857600maxLists: nullmaxItemsPerList: nullmaxIndexesPerList: nullmaxItemSize: 102400maxItemVersions: 10maxTokens: 5maxIdentities: 100maxRealtimeConnections: 1generativeAPI: true}usage: {periodStart: "2026-09-01T00:00:00.000Z"periodEnd: "2026-10-01T00:00:00.000Z"requestCount: 6658blockedCount: 0requestAllowance: 25000requestsRemaining: 18342overdraftAllowance: 0credits: 0storageBytes: 1048576storageAllowance: 104857600degraded: false}}tokenobjectThe token making the request. The token value itself is not included.planobjectThe limits in effect for this request. A null limit means there is no limit, and rateLimit is the minimum gap between requests in milliseconds.
If usage.degraded is true, then rateLimit and maxRequestsPerMinute are the free tier's rather than your plan's.
usageobjectUsage for the current calendar month, across your whole account rather than just this token. requestsRemaining includes any overdraft and prepaid credits, and is null if your plan has no monthly limit.
degraded is true once your allowance and credits have run out, and reads are being served at the free tier's rate limit. See what happens when you run out.
Like any request made with an API token, this one counts against your monthly allowance, and its response carries the rate limit and quota headers described in limits and quotas.
2026-09-11