API access and documentation

Use the GovLens REST API to fetch legislative data programmatically — procedures, votes, MEPs, and lobby records.

Pro plan and aboveLast reviewed

Step by step

  1. Visit /api/docs to browse the full API reference — every endpoint, parameter, response format, and error code is listed.

  2. Create an API key in Dashboard → Settings → API & Integrations. Keys are shown once at creation. You need a Pro subscription or above.

  3. Make your first request: send a GET to https://govlens.eu/api/v1/procedures?limit=5 with the header Authorization: Bearer gl_live_your_key_here.

  4. Check the response headers for rate limits: X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. Plans with a monthly cap also return X-Quota-Limit and X-Quota-Remaining.

Authentication

All endpoints require a bearer API key in the Authorization header. Keys are created in Dashboard → Settings → API & Integrations and follow your live subscription tier. Plan changes apply within 15 minutes. There is no anonymous access — Free, Reader, and Starter plans do not include API access.

Available endpoints

The API covers procedures (list, detail, and full-text search), votes (by procedure with MEP-level results), MEP records (profiles and voting histories), lobby organisations (directory and Commissioner meetings), and datasets (live certification states). All endpoints are read-only GET requests returning JSON.

Rate limits

Pro, Business, and Enterprise plans have an hourly burst limit and a monthly call quota. Free, Reader, and Starter plans have no API access. Exceeding the burst limit returns 429; exceeding the monthly quota returns 403 until the quota resets on the 1st (UTC). The Enterprise plan has no monthly cap (hourly burst limit still applies). Listed limits are pre-launch defaults and may change.

Attribution

When using GovLens data in published work, include attribution: "Data from GovLens (govlens.eu)".

Still stuck?

Support is available to signed-in customers.