Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wastecheck.co.uk/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

The WasteCheck API uses API keys to authenticate requests. You can manage your API keys from the Developer Portal.

API Key Authentication

Include your API key in the Authorization header with every request:
curl https://api.wastecheck.co.uk/v1/verify-carrier \
  -H "Authorization: Bearer wc_live_your_api_key_here"

Live vs Test Keys

WasteCheck provides two types of API keys:
Key TypePrefixPurpose
Livewc_live_Production requests, counted against quota
Testwc_test_Development and testing, returns mock data, not billed
Never expose your API keys in client-side code, public repositories, or browser requests. Always make API calls from your server.

Getting Your API Key

  1. Sign up at portal.wastecheck.co.uk/signup
  2. Navigate to API Keys in the dashboard
  3. Click Create New Key and choose Live or Test
  4. Copy the key immediately — it is only shown once

Rate Limiting

Rate limits are applied per API key using a sliding window. When you exceed the limit, the API returns 429 Too Many Requests with a Retry-After header. Monthly usage is tracked per API key and resets on the 1st of each billing cycle.

Plan Limits

PlanPriceMonthly CallsRate Limit
Free£05010 req/min
Starter£29/mo20030 req/min
Professional£79/mo1,00060 req/min
Business£249/mo10,000120 req/min
EnterpriseCustomCustomCustom
All plans include all endpoints. There is no feature gating between tiers.

Rate Limit Headers

Every response includes these headers:
HeaderDescription
X-RateLimit-LimitMaximum requests per minute for your plan
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix timestamp when the window resets
X-Monthly-LimitTotal calls allowed this billing cycle
X-Monthly-RemainingCalls remaining this billing cycle

Error Responses

If authentication fails, the API returns:
{
  "error": {
    "code": "INVALID_API_KEY",
    "message": "API key is missing, invalid, or revoked.",
    "status": 401
  }
}

Common Error Codes

CodeHTTPDescription
INVALID_API_KEY401API key is missing, invalid, or revoked
RATE_LIMIT_EXCEEDED429Request rate or monthly usage limit exceeded
INVALID_REQUEST400Request body is malformed or missing required fields
INTERNAL_ERROR500Unexpected server error