Skip to main content
To interact with Nevermined programmatically, you need a Nevermined API Key. This key is required for both:
  • Payment Libraries (TypeScript SDK and Python SDK)
  • REST API (direct HTTP calls)

Get Your API Key

Open nevermined.app, sign in, then go to Settings > Global NVM API Keys and click + New API Key. Copy the key and set it as an environment variable:
Keep your API key secure. Do not commit it to version control or share it publicly.

Choose Your Environment

Nevermined offers two environments:

API Versioning

Every request resolves to a pinned API version (the platform release MAJOR.MINOR), so your integration keeps working across releases. The pin comes from your API key (editable in the dashboard) or, per request, from the optional Nevermined-Version header:
See API Versioning for the resolution rules and compatibility guarantees.

Authentication

Every request is authenticated with a single bearer header — Authorization: Bearer <nevermined-api-key>. The key above is all most integrations need. For the full picture — the on-chain identity model, obtaining a key with or without a browser (the OAuth 2.1 Authorization Code and RFC 8628 device flows), standards-based discovery, and how to read a 401 — see the Authentication & Identity guide.

Error model

Errors return a typed envelope — a BCK.<MODULE>.<NNNN> code, a message, often a hint, a category, and an x-correlation-id header. Branch on the code/category, not the prose. See the API error model for the shape and the API error codes for the full catalog.

Next Steps

Authentication & Identity

The bearer-token contract, the device flow, OAuth 2.1, and discovery.

API error codes

The full catalog of BCK.* codes and what they mean.

TypeScript SDK

Install and use the TypeScript Payments library.

Python SDK

Install and use the Python Payments library.