Skip to main content

Get your API key

Create a Linkup account for free to get your API key.
No API key? You can also access the Linkup API using the x402 payment protocol: pay per request in USDC, no account needed.

Using cURL

Your API key needs to be sent with every request as a Bearer token in the Authorization header.
curl

Using the Python SDK

Option 1: Set a LINKUP_API_KEY environment variable in your shell before using the SDK.
shell
Option 2: Set the LINKUP_API_KEY environment variable directly within Python, using for instance os.environ or python-dotenv.
python
Option 3: Directly pass the Linkup API key to the Linkup Client.
python

Using the JS SDK

Pass the Linkup API key to the Linkup Client.
js

Using the CLI

The CLI can store your API key locally with the interactive setup flow:
shell
For scripts and CI, set LINKUP_API_KEY in the environment. The environment variable takes precedence over the local config file at ~/.linkup/config.
shell
Need help? Email support@linkup.so, ping us on Discord, or talk to us.