Hoppa till innehåll
Menu and API reference

API reference

Key and usage

See the API key's plan, scopes, limits and current usage.

GET /api/v1/me
Access
Scope En giltig API-nyckel
Cost
Free

Use this endpoint to display consumption and warn before a limit is reached. The call costs nothing and does not count against your quota.

Request and response

The example shows a request against the production environment and a successful response.

Request
curl "https://firmainfo.se/api/v1/me" \
  -H "Authorization: Bearer $FIRMAINFO_API_KEY"
Response
{
  "name": "Exempelbolaget AB",
  "plan": "professional",
  "scopes": ["companies", "financials", "market"],
  "terms": { "accepted_at": "2026-08-12T20:46:39.068Z", "version": "2026-08-01", "current": true },
  "limits": {
    "rate_per_minute": 120,
    "units_per_month": 200000,
    "unique_companies_per_month": 25000,
    "contacts_per_month": 5000
  },
  "usage_this_month": { "units": 652, "contacts": 0, "unique_companies": 138 },
  "key": { "prefix": "fi_live_Ofnxzc-P", "label": "produktion", "expires_at": null }
}

Continue here