Learn how to create and use API keys with APINow.fun
API keys are used to authenticate with the APINow.fun MCP server. Each API key is associated with a wallet address and has configurable spending limits and access controls.
API keys are generated securely and are only shown once during creation. Make sure to save your API key in a secure location.
To create an API key, follow these steps:
To use an API key with the APINow.fun MCP server, include it in the Authorization header of your requests:
Authorization: Bearer YOUR_API_KEYExample using fetch:
fetch('https://www.apinow.fun/api/mcp', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));API keys can be configured with the following settings:
Keep your API keys secure:
API keys are used to authenticate with the APINow.fun MCP server, which implements the Model Control Protocol. This allows AI agents to discover and use APIs through a token-based vending machine model.
APINow.fun provides seamless integration with Cursor and Claude Desktop through the Model Control Protocol (MCP). Follow these steps to connect:
If you haven't already, create an API key as described above.
Open your terminal and run the following command:
npx -y @smithery/cli@latest run apinow-fun --config "{\"apinowfunApiKey\":\"YOUR_API_KEY\"}"Replace YOUR_API_KEY with your actual API key.
Once connected, your AI assistant will have access to all APIs available through APINow.fun.
You can now ask your AI assistant to perform tasks using the available APIs.
For more detailed information about the MCP integration and available APIs, see the MCP Documentation.