Get started
Authentication
Every request to the Merkium API, including GET /models, is authenticated with an API key sent as a Bearer token. API keys are free and you do not need a credit card to create one.
Create an API key
API keys are created in the Console at chat.merkium.nl. Creating a key is free and there is no billing step: no credit card is asked for. See Pricing.
- Sign inGo to chat.merkium.nl and sign in or create an account.
- Open the ConsoleOpen the Console and go to the API tab, which holds your keys, the endpoint and the rate limit.
- Create a key and store it safelyCopy the key into an environment variable. These docs use
MERKIUM_API_KEY.export MERKIUM_API_KEY="your-api-key"
Base URL
All requests go to this base URL. Set it as base_url (Python) or baseURL (JavaScript) in an OpenAI client.
https://chat.merkium.nl/api/v1The Authorization header
Send the key in the Authorization header using the Bearer scheme:
Authorization: Bearer $MERKIUM_API_KEYThe OpenAI SDKs set this header for you from the api_key or apiKey option. The key is required on every endpoint, including GET /models; listing models without a key returns 401.
curl https://chat.merkium.nl/api/v1/models \
-H "Authorization: Bearer $MERKIUM_API_KEY"Missing or invalid keys
A request with a missing, malformed or unknown key is rejected with HTTP 401:
{
"error": {
"message": "Invalid API key",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}Rate limits are applied per API key. See Rate limits and Errors.
Questions or problems with the API: mail@merkium.nl. Last verified against the live API on October 20, 2026.