- Python 3.10 or higher installed on your system
- A Composio account with an API key
- An OpenAI API key
- Basic familiarity with Python and async programming
- UseBuildFeaturesTRIGGERSStart background agents from events across your connected appsFIREWALLNEWBlocks instructions hidden in tool results before your agent reads themINSTANTNEWAudio, video, search, browser and data tools, with no keys to manageOPTIMIZATIONLower cost per completed task with optimised tools and skillsBYOCNEWComposio deployed in your own cloud, with releases you approve
- DOCS
- PRICING
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
How to connect Api sports to LangChain in 2 mins: No API key needed
You can preview a football match before kickoff, list your team's next matches in your time zone and check injuries before you set your fantasy lineup from LangChain. Composio runs each call on its own Api sports account, so you don't need a Api sports API key, and your first $2 is free.
LangChain runs Api sports through Composio, and the cost comes out of your free $2.
- Football fixtures and results$0.000084
- A prediction for a football match$0.000084
- Injured and suspended players$0.000084
$2 ≈ 23800 requests
What you can do with your free $2
| When you ask LangChain for | LangChain uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| Football fixtures and results | Get Fixtures | $0.000084 per request | About 23,800 requests |
| A prediction for a football match | Get Predictions | $0.000084 per request | About 23,800 requests |
| Injured and suspended players | Get Injuries | $0.000084 per request | About 23,800 requests |
| Top scorers in a league | Get Players Top Scorers | $0.000084 per request | About 23,800 requests |
| Pre-match odds for a football match | Get Odds | $0.000084 per request | About 23,800 requests |
| MMA fight results | Get MMA Fight Results | $0.000044 per request | About 45,400 requests |
You pay Api sports' price for each call with 0% markup, plus the regular Composio tool call charge. There's no Api sports subscription, and you only pay for what you use.
60 of 73 Api sports tools work without a key. For Get Formula 1 Circuits, Get Formula 1 Competitions, Get Formula 1 Pit Stops, Get Formula 1 Races, Get Formula 1 Starting Grid, Get NFL Standings Conferences and 7 more, connect your own Api sports key. Read how Instant works.
How to connect Api sports to LangChain
Composio adds Api sports to LangChain as an Instant toolkit. You connect Composio to LangChain once, and then LangChain can use Api sports right away. There are two ways to do this:
Bring your own key
You bring your own Api sports API key, set it up, and use it.
Use the Composio wallet
InstantComposio runs each call on its own Api sports account, so you don't have to set anything up at Api sports, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Api sports into your own product, turn on Instant toolkits in your project settings so your agent can call Api sports for each of your users without a Api sports API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Start to use Api sports in LangChain in 3 steps
Turn on Instant
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
Open my walletAdd Composio to LangChain
Follow the setup below. You only do this once.
Ask LangChain for something
Try a Api sports prompt. The cost comes out of your $2.
Step-by-step Guide
Prerequisites
Getting API Keys for OpenAI and Composio
- Go to the OpenAI dashboard and create an API key. You'll need credits to use the models, or you can connect to another model provider.
- Keep the API key safe.
- Log in to the Composio dashboard.
- Navigate to your API settings and generate a new API key.
- Store this key securely as you'll need it for authentication.
Install dependencies
npm install @composio/langchain @langchain/core @langchain/openai @langchain/mcp-adapters dotenvInstall the required packages for LangChain with MCP support.
What's happening:
@composio/langchainprovides Composio integration for LangChain@langchain/mcp-adaptersenables MCP client connections@langchain/coreis the core agent frameworkdotenv/configloads environment variables
Set up environment variables
COMPOSIO_API_KEY=your_composio_api_key_here
COMPOSIO_USER_ID=your_composio_user_id_here
OPENAI_API_KEY=your_openai_api_key_hereCreate a .env file in your project root.
What's happening:
COMPOSIO_API_KEYauthenticates your requests to Composio's APICOMPOSIO_USER_IDidentifies the user for session managementOPENAI_API_KEYenables access to OpenAI's language models
Import dependencies
import { Composio } from '@composio/core';
import { LangchainProvider } from '@composio/langchain';
import { MultiServerMCPClient } from "@langchain/mcp-adapters";
import { createAgent } from "langchain";
import * as readline from 'readline';
import 'dotenv/config';
dotenv.config();- We're importing LangChain's MCP adapter and Composio SDK
- The
dotenv/configimport loads environment variables from your.envfile - This setup prepares the foundation for connecting LangChain with Api sports functionality through MCP
Initialize Composio client
const composioApiKey = process.env.COMPOSIO_API_KEY;
const userId = process.env.COMPOSIO_USER_ID;
if (!composioApiKey) throw new Error('COMPOSIO_API_KEY is not set');
if (!userId) throw new Error('COMPOSIO_USER_ID is not set');
async function main() {
const composio = new Composio({
apiKey: composioApiKey as string,
provider: new LangchainProvider()
});- We're loading the
COMPOSIO_API_KEYfrom environment variables and validating it exists - Creating a Composio instance that will manage our connection to Api sports tools
- Validating that
COMPOSIO_USER_IDis also set before proceeding
Create a Tool Router session
const session = await composio.create(
userId as string,
{
toolkits: ['api_sports']
}
);
const url = session.mcp.url;- We're creating a Tool Router session that gives your agent access to Api sports tools
- The
createmethod takes the user ID and specifies which toolkits should be available - The returned
session.mcp.urlis the MCP server URL that your agent will use - This approach allows the agent to dynamically load and use Api sports tools as needed
Configure the agent with the MCP URL
const client = new MultiServerMCPClient({
"api_sports-agent": {
transport: "http",
url: url,
headers: {
"x-api-key": process.env.COMPOSIO_API_KEY
}
}
});
const tools = await client.getTools();
const agent = createAgent({ model: "gpt-5", tools });- We're creating a
MultiServerMCPClientthat connects to our Api sports MCP server via HTTP - The client is configured with a name and the URL from our Tool Router session
getTools()retrieves all available Api sports tools that the agent can use- We're creating a LangChain agent using the GPT-5 model
Set up interactive chat interface
let conversationHistory: any[] = [];
console.log("Chat started! Type 'exit' or 'quit' to end the conversation.\n");
console.log("Ask any Api sports related question or task to the agent.\n");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
prompt: 'You: '
});
rl.prompt();
rl.on('line', async (userInput: string) => {
const trimmedInput = userInput.trim();
if (['exit', 'quit', 'bye'].includes(trimmedInput.toLowerCase())) {
console.log("\nGoodbye!");
rl.close();
process.exit(0);
}
if (!trimmedInput) {
rl.prompt();
return;
}
conversationHistory.push({ role: "user", content: trimmedInput });
console.log("\nAgent is thinking...\n");
const response = await agent.invoke({ messages: conversationHistory });
conversationHistory = response.messages;
const finalResponse = response.messages[response.messages.length - 1]?.content;
console.log(`Agent: ${finalResponse}\n`);
rl.prompt();
});
rl.on('close', () => {
console.log('\n👋 Session ended.');
process.exit(0);
});- We initialize an empty
conversationHistorylist to maintain context across interactions - A
readlineinterface is used to continuously accept user input from the command line - When a user types a message, it's added to the conversation history and sent to the agent
- The agent processes the request using the
invoke()method with the full conversation history - Users can type 'exit', 'quit', or 'bye' to end the chat session gracefully
Run the application
main().catch((err) => {
console.error('Fatal error:', err);
process.exit(1);
});- We call the
main()function to start the application
Complete Code
Here's the complete code to get you started with Api sports and LangChain:
import { Composio } from '@composio/core';
import { LangchainProvider } from '@composio/langchain';
import { MultiServerMCPClient } from "@langchain/mcp-adapters";
import { createAgent } from "langchain";
import * as readline from 'readline';
import 'dotenv/config';
const composioApiKey = process.env.COMPOSIO_API_KEY;
const userId = process.env.COMPOSIO_USER_ID;
if (!composioApiKey) throw new Error('COMPOSIO_API_KEY is not set');
if (!userId) throw new Error('COMPOSIO_USER_ID is not set');
async function main() {
const composio = new Composio({
apiKey: composioApiKey as string,
provider: new LangchainProvider()
});
const session = await composio.create(
userId as string,
{
toolkits: ['api_sports']
}
);
const url = session.mcp.url;
const client = new MultiServerMCPClient({
"api_sports-agent": {
transport: "http",
url: url,
headers: {
"x-api-key": process.env.COMPOSIO_API_KEY
}
}
});
const tools = await client.getTools();
const agent = createAgent({ model: "gpt-5", tools });
let conversationHistory: any[] = [];
console.log("Chat started! Type 'exit' or 'quit' to end the conversation.\n");
console.log("Ask any Api sports related question or task to the agent.\n");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
prompt: 'You: '
});
rl.prompt();
rl.on('line', async (userInput: string) => {
const trimmedInput = userInput.trim();
if (['exit', 'quit', 'bye'].includes(trimmedInput.toLowerCase())) {
console.log("\nGoodbye!");
rl.close();
process.exit(0);
}
if (!trimmedInput) {
rl.prompt();
return;
}
conversationHistory.push({ role: "user", content: trimmedInput });
console.log("\nAgent is thinking...\n");
const response = await agent.invoke({ messages: conversationHistory });
conversationHistory = response.messages;
const finalResponse = response.messages[response.messages.length - 1]?.content;
console.log(`Agent: ${finalResponse}\n`);
rl.prompt();
});
rl.on('close', () => {
console.log('\nSession ended.');
process.exit(0);
});
}
main().catch((err) => {
console.error('Fatal error:', err);
process.exit(1);
});Ask LangChain for something with Api sports
Start a new chat and try this prompt:
Give me a preview of the next [team A] vs [team B] match: their last 5 head-to-head results, who is injured or suspended on each side, and the predicted winner with win percentages.
LangChain runs it on Instant and shows you the result. It doesn't ask you for a Api sports key, and the cost comes out of your $2. You can see each call in your wallet.
Optional: connect your own Api sports key
If you want Get Formula 1 Circuits, Get Formula 1 Competitions, Get Formula 1 Pit Stops, Get Formula 1 Races, Get Formula 1 Starting Grid, Get NFL Standings Conferences and 7 more, you need your own key. Ask LangChain to connect your Api sports account, and it gives you a Composio link:
Connect my Api sports account using Composio.
Open the link, paste your Api sports API key and click Connect Account. You can get a key from API-Sports dashboard. After that, Composio uses your key first and doesn't charge Instant for those calls.
Use your first $2: copy a prompt into LangChain
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Preview a football match before kickoff
Less than $0.01Pulls the head-to-head record, injuries and the model's prediction for one match into a short preview.
Give me a preview of the next [team A] vs [team B] match: their last 5 head-to-head results, who is injured or suspended on each side, and the predicted winner with win percentages.
List your team's next matches in your time zone
Less than $0.01Lists a team's next 10 matches across all competitions, with kickoff times shown in your own time zone.
List the next 10 matches for [team] with the competition, opponent, venue and kickoff time in [your time zone, e.g. America/New_York].
Check injuries before you set your fantasy lineup
Less than $0.01Lists every injured or suspended player for a league's upcoming matches, grouped by team.
Who is injured or suspended for this weekend's [league] matches? Group the players by team and show whether each one is injured or suspended and the reason given.
Get the full stats after a match
Less than $0.01Pulls the goals, cards, team stats and player ratings for a finished match into one report.
Give me a full report on [team]'s last match: the goals and cards with the minute of each, shots, possession and passing for both teams, and the 3 highest-rated players.
See who leads the scoring charts in a league
Less than $0.01Shows the top scorers and assist leaders in a league this season, with goals, assists and minutes played.
Show me the top 10 goal scorers and the top 10 assist providers in the [league] this season, with their team, goals, assists and minutes played.
Get the results from a night of MMA fights
Less than $0.01Lists every MMA fight on a date with the winner, the method and the round it ended in.
Show me the results of the MMA fights on [date]: for each fight, the weight class, the winner, how it ended and in which round.
Check an AFL league table
Less than $0.01See standings, points and records for an AFL season.
I want the [AFL league ID] standings for [season]. Show each club's position, wins, losses, points and points difference, and tell me how close the top four are.
Compare two basketball teams this season
Less than $0.01Compare season records and scoring for two basketball teams.
I want to compare [team ID A] and [team ID B] in basketball league [league ID] for [season]. Show games played, wins, losses, points scored and points allowed for each team.
See who has the most red cards
Less than $0.01Find the football players leading a league in red cards.
I want the red card leaders for [league] in [season]. Look up the league ID, then show the top 10 players with their teams and red card totals.
Review a fighter’s career record
Less than $0.01See an MMA fighter’s wins, losses and finish types.
I want the career record for MMA fighter [name]. Find the right fighter, then show wins, losses, draws and the ways their wins ended. If the name matches several fighters, ask me which one.
What LangChain can do with Api sports
Works without a key
- Football fixtures and results
- A prediction for a football match
- Injured and suspended players
- Top scorers in a league
- Pre-match odds for a football match
- MMA fight results
Needs your own Api sports key
- Get Formula 1 Circuits
- Get Formula 1 Competitions
- Get Formula 1 Pit Stops
- Get Formula 1 Races
- Get Formula 1 Starting Grid
- Get NFL Standings Conferences
- Get Formula 1 Driver Rankings
- Get Fastest Laps Rankings
- and 5 more
Supported tools (73)
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Get AFL Games | Tool to retrieve AFL games and matches. | Yes | $0.067 per 1,000 API requests. |
| Get AFL Game Player Statistics | Tool to retrieve player statistics from AFL (Australian Football League) game(s). | Yes | $0.067 per 1,000 API requests. |
| Get AFL Seasons | Tool to get the list of available seasons for AFL. | Yes | $0.067 per 1,000 API requests. |
| Get AFL Standings | Tool to retrieve AFL standings for a league. | Yes | $0.067 per 1,000 API requests. |
| Get Baseball Games Head-to-Head | Tool to get head-to-head baseball games between two teams. | Yes | $0.067 per 1,000 API requests. |
| Get Basketball Bets | Tool to get all available basketball bet types. | Yes | $0.067 per 1,000 API requests. |
| Get Basketball Bookmakers | Tool to get all available basketball bookmakers. | Yes | $0.067 per 1,000 API requests. |
| Get Basketball Games | Retrieve Basketball games for a league and season, optionally by team. | Yes | $0.067 per 1,000 API requests. |
| Get Basketball Game Player Statistics | Retrieve player-level performance statistics for a Basketball game. | Yes | $0.067 per 1,000 API requests. |
| Get Basketball Standings | Retrieve ranked Basketball teams for a league season. | Yes | $0.067 per 1,000 API requests. |
| Get basketball statistics | Tool to get basketball statistics for a team in a given league and season. | Yes | $0.067 per 1,000 API requests. |
| Get Coaches | Tool to fetch coaches and their career history. | Yes | $0.084 per 1,000 API requests. |
| Get Countries | Tool to fetch available countries for league queries. | Yes | $0.084 per 1,000 API requests. |
| Get Fighters Records | Tool to get fighter career statistics. | Yes | $0.044 per 1,000 API requests. |
| Get Fixtures | Retrieve football fixtures and matches by ID, live status, date, league, season, team, or date range, including upcoming, past, or live matches. | Yes | $0.084 per 1,000 API requests. |
| Get fixtures events | Tool to get events (goals, cards, substitutions, VAR, etc.) from a fixture. | Yes | $0.084 per 1,000 API requests. |
| Get Head-to-Head Fixtures | Tool to get head-to-head fixtures between two teams. | Yes | $0.084 per 1,000 API requests. |
| Get Fixture Lineups | Tool to retrieve starting XI and substitutes for a fixture. | Yes | $0.084 per 1,000 API requests. |
| Get fixtures players | Tool to get player statistics from a fixture. | Yes | $0.084 per 1,000 API requests. |
| Get Fixtures Rounds | Tool to get the rounds for a league or cup. | Yes | $0.084 per 1,000 API requests. |
Show all 73 toolsShow fewer tools
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Get fixture statistics | Tool to get statistics for a fixture. | Yes | $0.084 per 1,000 API requests. |
| Get games events | Get events such as goals and penalties for a hockey game by game ID. | Yes | $0.067 per 1,000 API requests. |
| Get AFL Games Quarters | Tool to retrieve AFL game quarter scores. | Yes | $0.067 per 1,000 API requests. |
| Get game statistics by teams | Get basketball team statistics for one or multiple games by ID, including assists, blocks, field goals, rebounds, steals, and turnovers. | Yes | $0.067 per 1,000 API requests. |
| Get Injuries | Tool to get injured or suspended players. | Yes | $0.084 per 1,000 API requests. |
| Get Leagues | Tool to retrieve leagues and cups. | Yes | $0.084 per 1,000 API requests. |
| Get League Seasons | Tool to get the list of available seasons for all leagues. | Yes | $0.084 per 1,000 API requests. |
| Get MMA Categories | Tool to fetch the list of all available MMA categories. | Yes | $0.044 per 1,000 API requests. |
| Get MMA Fighters | Tool to fetch MMA fighters data. | Yes | $0.044 per 1,000 API requests. |
| Get MMA Fights | Tool to retrieve the list of MMA fights according to given parameters. | Yes | $0.044 per 1,000 API requests. |
| Get MMA Fight Results | Tool to retrieve results from one or several MMA fights. | Yes | $0.044 per 1,000 API requests. |
| Get MMA Fighter Statistics | Tool to get fighter statistics from MMA fights. | Yes | $0.044 per 1,000 API requests. |
| Get NBA game statistics | Retrieve aggregate NBA statistics for each team that played a game. | Yes | $0.067 per 1,000 API requests. |
| Get NBA Player Statistics | Return NBA player box scores. | Yes | $0.067 per 1,000 API requests. |
| Get Odds | Tool to fetch pre-match odds. | Yes | $0.084 per 1,000 API requests. |
| Get Odds Bets | Tool to get all available pre-match bet types. | Yes | $0.084 per 1,000 API requests. |
| Get Odds Bookmakers | Tool to list all available pre-match bookmakers. | Yes | $0.084 per 1,000 API requests. |
| Get In-Play Odds | Tool to fetch in-play odds for fixtures in progress. | Yes | $0.084 per 1,000 API requests. |
| Get Live Odds Bets | Tool to fetch all available bet types for in-play odds. | Yes | $0.084 per 1,000 API requests. |
| Get Odds Mapping | Tool to get the list of available fixture IDs for the odds endpoint. | Yes | $0.084 per 1,000 API requests. |
| Get Players | Retrieve football player profiles and statistics, with filters for player ID, team, league, season, and name search, and pagination. | Yes | $0.084 per 1,000 API requests. |
| Get Players Profiles | Tool to get the list of all available players. | Yes | $0.084 per 1,000 API requests. |
| Get Players Seasons | Tool to list all available seasons for player statistics. | Yes | $0.084 per 1,000 API requests. |
| Get Players Squads | Tool to get player squads. | Yes | $0.084 per 1,000 API requests. |
| Get player statistics | Tool to get player statistics for a specific basketball game. | Yes | $0.067 per 1,000 API requests. |
| Get Players Teams | Tool to get the list of teams and seasons in which a player played during his career. | Yes | $0.084 per 1,000 API requests. |
| Get Players Top Assists | Tool to get the 20 best players (top assists) for a league or cup. | Yes | $0.084 per 1,000 API requests. |
| Get Players Top Red Cards | Tool to get the 20 players with the most red cards for a league or cup. | Yes | $0.084 per 1,000 API requests. |
| Get Players Top Scorers | Tool to get the 20 best players (top scorers) for a league or cup. | Yes | $0.084 per 1,000 API requests. |
| Get Players Top Yellow Cards | Tool to get the 20 players with the most yellow cards for a league or cup. | Yes | $0.084 per 1,000 API requests. |
| Get Predictions | Get calculated predictions for a fixture by fixture ID. | Yes | $0.084 per 1,000 API requests. |
| Get Sidelined | Tool to get sidelined information (injuries, suspensions, etc.). | Yes | $0.084 per 1,000 API requests. |
| Get Standings Stages | Retrieve available basketball standings stages for a specific league and season, for use when fetching standings. | Yes | $0.067 per 1,000 API requests. |
| Get Teams | Tool to retrieve available teams. | Yes | $0.084 per 1,000 API requests. |
| Get Team Seasons | Tool to get the list of seasons available for a team. | Yes | $0.084 per 1,000 API requests. |
| Get team statistics | Tool to get detailed statistics of a team for a given league and season. | Yes | $0.084 per 1,000 API requests. |
| Get Timezone | Tool to fetch the complete list of available timezones for fixture queries. | Yes | $0.084 per 1,000 API requests. |
| Get Transfers | Tool to get all available transfers for players and teams. | Yes | $0.084 per 1,000 API requests. |
| Get Trophies | Tool to get trophies for a player or coach. | Yes | $0.084 per 1,000 API requests. |
| Get Venues | Tool to retrieve available venues. | Yes | $0.084 per 1,000 API requests. |
| Get Formula 1 Circuits | Tool to get the list of available Formula 1 circuits. | Needs your own key | Billed to your own Api sports key |
| Get Formula 1 Competitions | Tool to retrieve Formula 1 competitions (Grand Prix races). | Needs your own key | Billed to your own Api sports key |
| Get Formula 1 Pit Stops | Retrieve pit stops for a Formula 1 race, optionally filtered by team or driver. | Needs your own key | Billed to your own Api sports key |
| Get Formula 1 Races | Retrieve Formula 1 race schedules and event details for a given season, optionally filtered by competition, circuit, date, race type, or other criteria. | Needs your own key | Billed to your own Api sports key |
| Get Formula 1 Starting Grid | Tool to retrieve the starting grid for a Formula 1 race. | Needs your own key | Billed to your own Api sports key |
| Get NFL Standings Conferences | Tool to retrieve the list of available conferences for the NFL to be used in the standings endpoint. | Needs your own key | Billed to your own Api sports key |
| Get Formula 1 Driver Rankings | Tool to retrieve Formula 1 driver rankings for a season. | Needs your own key | Billed to your own Api sports key |
| Get Fastest Laps Rankings | Tool to get the ranking of the fastest laps for a Formula 1 race. | Needs your own key | Billed to your own Api sports key |
| Get Race Rankings | Retrieve rankings for a specific Formula 1 race, including finishing positions, completion times or gaps, and laps completed. | Needs your own key | Billed to your own Api sports key |
| Get Formula 1 Team Rankings | Tool to retrieve Formula 1 team rankings for a specific season. | Needs your own key | Billed to your own Api sports key |
| Get Standings Divisions | Tool to retrieve the list of available divisions for an NFL competition to be used in the standings endpoint. | Needs your own key | Billed to your own Api sports key |
| Get Standings Groups | Tool to retrieve the list of available groups for a league to be used in the standings endpoint. | Needs your own key | Billed to your own Api sports key |
| Get API Status | Return connected account identity, subscription status, and daily request usage. | Needs your own key | Billed to your own Api sports key |
How you pay for Api sports
- Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
- You pay for each callYou pay Api sports' price with 0% markup, plus the regular Composio tool call charge.
- Your own key comes firstIf you connect your own Api sports key, Composio uses it and doesn't charge Instant for those calls.
- You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
- You can see each callYour wallet shows each call and what it cost.
- When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my Composio wallet
Troubleshooting
1. LangChain asks me for a Api sports API key
You may have asked for something that needs your own key, like Get Formula 1 Circuits, Get Formula 1 Competitions, Get Formula 1 Pit Stops, Get Formula 1 Races, Get Formula 1 Starting Grid, Get NFL Standings Conferences and 7 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.
2. I can't see my free $2
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
3. A Api sports call failed with a balance error
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Api sports key, then try again.
How to build Api sports MCP Agent with another framework
Claude Code
Use Api sports MCP with Claude Code
Cursor
Use Api sports MCP with Cursor
ChatGPT
Use Api sports MCP with ChatGPT
Claude Cowork
Use Api sports MCP with Claude Cowork

Antigravity
Use Api sports MCP with Antigravity
OpenAI Agents SDK
Use Api sports MCP with OpenAI Agents SDK
Claude Agent SDK
Use Api sports MCP with Claude Agent SDK
Codex
Use Api sports MCP with Codex

Grok Build
Use Api sports MCP with Grok Build

VS Code
Use Api sports MCP with VS Code

OpenCode
Use Api sports MCP with OpenCode

OpenClaw
Use Api sports MCP with OpenClaw

Hermes
Use Api sports MCP with Hermes
Atomic Agent
Use Api sports MCP with Atomic Agent

Pi
Use Api sports MCP with Pi
DeepSeek Harness
Use Api sports MCP with DeepSeek Harness
Google ADK
Use Api sports MCP with Google ADK
Vercel AI SDK
Use Api sports MCP with Vercel AI SDK
Mastra AI
Use Api sports MCP with Mastra AI
LlamaIndex
Use Api sports MCP with LlamaIndex
CrewAI
Use Api sports MCP with CrewAI
Pydantic AI
Use Api sports MCP with Pydantic AI
AutoGen
Use Api sports MCP with AutoGen
Explore Other Toolkits
Firecrawl
Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
Tavily
Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
Exa
Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
Serpapi
SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
Frequently asked questions
Not for the 60 tools that run on Instant. Composio runs those calls on its own Api sports account, and you only add Composio to your agent. The other 13 tools need your own Api sports key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Api sports or on any other Instant toolkit.
You can get about 23,800 requests, about 23,800 requests or about 23,800 requests. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own Api sports key.
You pay Api sports' price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Api sports toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 60 of the 73 tools without a key, including Get AFL Games, Get AFL Game Player Statistics, Get AFL Seasons, Get AFL Standings, Get Baseball Games Head-to-Head, Get Basketball Bets and 54 more. The other 13 tools need your own Api sports key.
Composio is SOC 2 Type II compliant.
Start with Api sports.It takes 30 seconds.
New accounts get a one-time $2 starter credit for Instant calls.Run Api sports from your agent with no Api sports key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Get $2 starter credit
