API League · Authentication Profile

Api League Authentication

Authentication

API League authenticates with a single API key and nothing else. There is no OAuth, no OIDC, no scopes, no service accounts and no key rotation surface documented — one key grants the whole 55-operation surface, and the plan attached to that key is what varies. Two interchangeable apiKey schemes are declared in the OpenAPI and applied globally, and the provider documents both: `?api-key=YOUR-API-KEY` in the query string, or the `x-api-key` request header. The query-string form is the one the provider leads with in its own examples, and it is the weaker of the two — a key in a URL lands in proxy logs, browser history, referrer headers and shell history. An agent should use the x-api-key header. The terms of use place the consequences on the consumer: the key must be kept confidential, must be stripped before posting code to a forum or GitHub, and the account holder is responsible for any charges or harm from a compromised key.

API League secures its APIs with apiKey across 2 declared security schemes, as derived from its OpenAPI definitions.

API MarketplaceBooksDeveloper ToolsFoodGamesHumorMediaNewsOpenAPISDKText ProcessingWeb Scraping
Methods: apiKey Schemes: 2 OAuth flows: API key in: header, query

Security Schemes

apiKey apiKey
· in: query (api-key)
headerApiKey apiKey
· in: header (x-api-key)

Source

Authentication Profile

Raw ↑
generated: '2026-09-02'
method: searched
source: openapi/api-league-art-openapi.yml, openapi/api-league-books-openapi.yml, openapi/api-league-food-openapi.yml,
  openapi/api-league-games-openapi.yml, openapi/api-league-humor-openapi.yml, openapi/api-league-knowledge-openapi.yml,
  openapi/api-league-math-openapi.yml, openapi/api-league-media-openapi.yml, openapi/api-league-news-openapi.yml,
  openapi/api-league-storage-openapi.yml, openapi/api-league-text-openapi.yml, openapi/api-league-web-openapi.yml
summary:
  types:
  - apiKey
  api_key_in:
  - header
  - query
schemes:
- name: apiKey
  type: apiKey
  in: query
  parameter: api-key
  sources:
  - openapi/api-league-art-openapi.yml
  - openapi/api-league-books-openapi.yml
  - openapi/api-league-food-openapi.yml
  - openapi/api-league-games-openapi.yml
  - openapi/api-league-humor-openapi.yml
  - openapi/api-league-knowledge-openapi.yml
  - openapi/api-league-math-openapi.yml
  - openapi/api-league-media-openapi.yml
  - openapi/api-league-news-openapi.yml
  - openapi/api-league-storage-openapi.yml
  - openapi/api-league-text-openapi.yml
  - openapi/api-league-web-openapi.yml
- name: headerApiKey
  type: apiKey
  in: header
  parameter: x-api-key
  sources:
  - openapi/api-league-art-openapi.yml
  - openapi/api-league-books-openapi.yml
  - openapi/api-league-food-openapi.yml
  - openapi/api-league-games-openapi.yml
  - openapi/api-league-humor-openapi.yml
  - openapi/api-league-knowledge-openapi.yml
  - openapi/api-league-math-openapi.yml
  - openapi/api-league-media-openapi.yml
  - openapi/api-league-news-openapi.yml
  - openapi/api-league-storage-openapi.yml
  - openapi/api-league-text-openapi.yml
  - openapi/api-league-web-openapi.yml
docs: https://apileague.com/docs/authentication/
provider: API League
providerId: api-league
description: 'API League authenticates with a single API key and nothing else. There is no OAuth, no OIDC,
  no scopes, no service accounts and no key rotation surface documented — one key grants the whole 55-operation
  surface, and the plan attached to that key is what varies. Two interchangeable apiKey schemes are declared
  in the OpenAPI and applied globally, and the provider documents both: `?api-key=YOUR-API-KEY` in the
  query string, or the `x-api-key` request header.

  The query-string form is the one the provider leads with in its own examples, and it is the weaker of
  the two — a key in a URL lands in proxy logs, browser history, referrer headers and shell history. An
  agent should use the x-api-key header. The terms of use place the consequences on the consumer: the
  key must be kept confidential, must be stripped before posting code to a forum or GitHub, and the account
  holder is responsible for any charges or harm from a compromised key.'
obtain:
  signup: https://apileague.com/console/
  free_tier: true
  card_required: false
  note: Keys are issued from the console after a free signup; the Free plan needs no payment method.
examples:
- style: query
  request: GET https://api.apileague.com/search-books?api-key=YOUR-API-KEY&query=romance
  source: https://apileague.com/docs/authentication/
- style: header
  request: 'GET https://api.apileague.com/search-books?query=romance

    x-api-key: YOUR-API-KEY'
  source: https://apileague.com/docs/authentication/
failure:
  status: 401
  body: '{"status":"failure","code":401,"message":"Please read https://apileague.com/docs/authentication"}'
  note: Returned for a missing or invalid key AND for every non-existent path on api.apileague.com — a
    401 on that host is not evidence a path exists.
gaps:
- No OAuth 2.0 / OIDC and no scopes — a key is all-or-nothing across all 55 operations.
- No documented key rotation, expiry, or per-key restriction (IP, referrer, endpoint).
- The provider's primary documented example puts the secret in the URL query string.
- No /.well-known/oauth-authorization-server or openid-configuration on any host (see well-known/api-league-well-known.yml).
evidence:
- url: https://apileague.com/docs/authentication/
  status: 200
- url: https://api.apileague.com/
  status: 401
- url: https://apileague.com/terms/
  status: 200
cross_links:
  conventions: conventions/api-league-conventions.yml
  errors: errors/api-league-problem-types.yml
maintainers:
- FN: Kin Lane
  email: info@apievangelist.com

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/api-league-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.