Quickstart

Obtain Your API Key

To get started, you'll need an API key to authenticate requests. Sign up or log in at insight.apeek.io, then go to the API Access section and click Generate Key. This key is your secure credential for all API calls — treat it like a password and never share it publicly. Once you have your key, you can begin querying data instantly using simple HTTP requests or your preferred programming language.

Making Your First API Request

HTTPS Request

https://api.apeek.io/api/v1/economic-data/ui_weekly_claims?series=initial_claims_sa&date_from=2025-01-01&date_to=2026-01-01&api_key=your_api_key_here

Python Request

import requests

url = "https://api.apeek.io/api/v1/economic-data/ui_weekly_claims"
params = {
    "series": "initial_claims_sa,continued_claims_sa",
    "date_from": "2025-01-01",
    "date_to": "2026-01-01",
    "api_key": "your_api_key_here"
}

response = requests.get(url, params=params)
data = response.json()
print(data)

Understanding the API Response

JSON Response

{
  "status": "OK",
  "message": "Data retrieved successfully",
  "meta": {
    "schema_version": "1.0",
    "frequency": "Weekly",
    "fields": {
      "date": "string (YYYY-MM-DD)",
      "series": "string",
      "value": "numerical string"
    }
  },
  "pagination": {
    "count": "100",
    "next_url": "/economic-data/ui_weekly_claims?series=initial_claims_sa,continued_claims_sa&date_from=2025-01-01&date_to=2026-01-01&token_id=7c1b453e..."
  },
  "data": [ ... ]
}

If more results are available, the next_url field contains a link you can follow to retrieve the next page. See the Pagination guide for details.