Authentication
Sign in to the console with Google or a verified email address. Email links expire in 15 minutes. Open the link in the browser that requested it and select Sign in. If Google matches an existing email account, confirm the link sent to that address to bind the identity. Google accounts using an external email provider may also receive an email confirmation on first use.
Get a server key
- Activate the 24-hour trial or a paid feed package in the console.
- Create a named API key. Copy the entire
mf_live_…value when it appears. The console subsequently shows its prefix. - Store the value in your server environment as
MATCHFEED_API_KEY. Send it with each REST request and in the WebSocket upgrade request.
curl --fail-with-body -H "Authorization: Bearer $MATCHFEED_API_KEY" \
"https://api.matchfeed.dev/v1/football/matches?date=2026-11-26"
Use a UTC date within the range you intend to query. An empty list is a valid result. The hostname for streaming is wss://api.matchfeed.dev/v1/stream. Your WebSocket library must support HTTP headers on the handshake. Use a server-side client; the console reads data through authenticated HTTP polling.
Scopes and revocation
A key uses its organization's current feed package, expiry, history window and limits. Trial accounts can create one active key. Paid organizations can retain up to 16 active keys for rotation; the connection and request budgets are shared. Create a replacement, switch clients, and revoke the old key in the console. A revoked key fails on its next authorization check. Web sign-out ends that browser session; keys have an independent lifecycle.
| HTTP | Client action |
|---|---|
| 401 | Check the full bearer value and its revocation status. Never send the key in the URL, request body or a cookie. |
| 403 | Check subscription expiry, requested feeds, and the origin of a browser request. |
| 429 | Wait the Retry-After seconds. Coordinate retries across workers and keys. |
Real fixture directories, match snapshots, histories and streams all require an active entitlement. Billing and limits.