AI & Agents
Agent Toolkit

Let your agent read the app market

Give your agent ready-made tools for downloads, revenue, ranks, reviews, keywords, and ads across any app, with Vercel AI SDK, OpenAI, or LangChain.

Paste into Claude Code, Cursor, or any agent

agent.ts

$npm install @appfigures/agent-toolkit

Copy

const { text } = await generateText({

    model: '...',

    tools: toAISDKTools(createAppfiguresActions()).tools,

    prompt: 'How did my downloads trend last month?',

})

agent.ts

$npm install @appfigures/agent-toolkit

Copy

const response = await openai.responses.create({

    model: '...',

    tools: toOpenAIResponsesTools(createAppfiguresActions()).tools,

    input: 'How did my downloads trend last month?',

})

agent.ts

$npm install @appfigures/agent-toolkit

Copy

const agent = createAgent({

    model: '...',

    tools: toLangChainTools(createAppfiguresActions()).tools,

    systemPrompt: 'You are an app market analyst.',

})

agent.ts

$npm install @appfigures/agent-toolkit

Copy

const actions = createAppfiguresActions()

for (const tool of actions.list()) {

    agent.addTool(tool, (call) => actions.execute(call))

}

report.ts

$npm install @appfigures/agent-toolkit

Copy

const af = new AppfiguresAgentClient()

const { results } = await af.apps.search({ q: 'spotify' })

console.log(results[0].downloads_last_month)

Works with your framework

Adapters for Vercel AI SDK, OpenAI, and LangChain. Keep your agent.

Instructions built in

Each tool explains when to call it and how to read the result.

Reads run, writes wait

Reads run automatically. Review replies and keyword tracking wait for approval.

two ways to build

Tools for your agent. A client for its code.

The Agent Toolkit gives you ready-made tools for your agent, product, or recurring workflow, plus the typed client behind them. Use the tools with your framework, or write code against the same typed foundation.

Agent tools

Give your agent ready-made tools

How it works

Hand the tools to your framework. Each one includes a function and usage guidance.

Key details
Downloads
Revenue
Ranks
Reviews
Keywords
Related keywords
Apple Ads
Demographics
Best for

Chat agents built on Vercel AI SDK, OpenAI, or LangChain, with Appfigures tools.

Typed client

Run workflows with a typed client

How it works

The tools' typed client lets your agent write code and get typed data.

Key details
Scripts
Scheduled jobs
One-off analyses
Recurring reports
Typed results
Best for

Coding agents and teams using Appfigures data in scripts or scheduled reports.

Agent tools

Work with the framework you use

Use ready-made Appfigures tools with the framework you already use. Each tool includes guidance on when to call it and how to read the result, so your agent can work with app data without rebuilding API access.

Code editor showing a TypeScript agent that uses toAISDKTools and createAppfiguresActions, then passes the tools to generateText, with callouts for downloads, revenue, keywords, Apple Ads, and demographics.
Typed client

Build repeatable workflows your agent writes

Not every workflow needs a conversational agent. When your agent writes a TypeScript script or scheduled job, it uses the typed client with the same actions, typed inputs and results, and one error type.

Code editor showing a scheduled TypeScript script that creates an AppfiguresAgentClient, with example jobs: morning metrics check, competitor and keyword report, reviews into your workflow, and release-day analysis.
What it covers

Every Appfigures data set, for any app

Import the toolkit and call the same Appfigures actions from your agent or workflow. It covers app lookup, metrics, reviews, keywords, related keywords, Apple Ads, cross-usage, and demographics through the typed client and supported tool adapters. Estimates, ranks, reviews, and keywords work for any app, while store-reported sales need a linked account.

Code editor showing a TypeScript script that creates an AppfiguresAgentClient, looks up an app with af.apps.get, and queries monthly sales estimates with af.metrics.query.
countless opportunities

What your agent can answer

Ask about any app on any major store.

Market research

“How many downloads and how much revenue is Spotify pulling in?”

Trends

“Is Headspace growing or shrinking over the last six months?”

Apple Ads

“Who's advertising on ‘meditation’, and how dominant are they?”

ASO

“What keywords does Duolingo rank for that we don't?”

Reviews

“What are users complaining about in an app's newest 1-star reviews?”

Audience

“Who actually uses ChatGPT: their age, gender, and what else they use?”

Market research

“How many downloads and how much revenue is Spotify pulling in?”

Trends

“Is Headspace growing or shrinking over the last six months?”

Apple Ads

“Who's advertising on ‘meditation’, and how dominant are they?”

ASO

“What keywords does Duolingo rank for that we don't?”

Reviews

“What are users complaining about in an app's newest 1-star reviews?”

Audience

“Who actually uses ChatGPT: their age, gender, and what else they use?”

Your apps

“How are downloads and revenue trending across all my apps this month versus last?”

ASO

“Which of my tracked keywords have the most traffic but the least competition?”

Market research

“Which US iOS games earned the most this month, and who's behind them?”

Your apps

“How much of my revenue comes from the App Store versus Google Play?”

ASO

“Compare my keyword rankings with my top competitor's.”

Market research

“Which SDKs do apps usually ship alongside OneSignal?”

Your apps

“How are downloads and revenue trending across all my apps this month versus last?”

ASO

“Which of my tracked keywords have the most traffic but the least competition?”

Market research

“Which US iOS games earned the most this month, and who's behind them?”

Your apps

“How much of my revenue comes from the App Store versus Google Play?”

ASO

“Compare my keyword rankings with my top competitor's.”

Market research

“Which SDKs do apps usually ship alongside OneSignal?”

Market research

“Estimate my top competitors' monthly downloads and revenue.”

Your apps

“How much am I spending on ads each day, and how does that line up with downloads?”

ASO

“How do my category ranks compare across the US, UK, and Japan right now?”

Market research

“Find iOS apps using Firebase that earn more than $1M a month in the US.”

Your apps

“Which of my apps slipped the most last month, and do the reviews hint at why?”

ASO

“What keywords does my app rank for in the US, and at what positions?”

Market research

“Estimate my top competitors' monthly downloads and revenue.”

Your apps

“How much am I spending on ads each day, and how does that line up with downloads?”

ASO

“How do my category ranks compare across the US, UK, and Japan right now?”

Market research

“Find iOS apps using Firebase that earn more than $1M a month in the US.”

Your apps

“Which of my apps slipped the most last month, and do the reviews hint at why?”

ASO

“What keywords does my app rank for in the US, and at what positions?”

Install the toolkit and start building

Published on npm for TypeScript builders. Requires Node 20 or newer.

npm install @appfigures/agent-toolkit
Copy
Read the documentation
1
Install
Install the toolkit and your framework's SDK.
2
Authenticate
Create an API key and set
APPFIGURES_API_KEY
.
3
Choose a path
Use tools for an agent framework, or the client for scheduled scripts.
4
Ask
Ask your agent about any app.
Create an Appfigures API key
Why the toolkit

Build the agent. Use Appfigures for the app intelligence.

The API gives you data. The Toolkit gives your agent tested tools, built-in guidance, framework adapters, and approval before writes, so you can focus on the experience you are building.

CLI

Run Appfigures commands from your terminal or a coding agent to pull app data without leaving your workflow.

npm install -g @appfigures/cli
Copy

MCP Server

Connect a compatible AI tool you already use to Appfigures, so it can work with app intelligence directly.

https://mcp.appfigures.com/mcp
Copy

Agent Toolkit

Give your agent ready-made tools, or let it write code through the typed client.

npm install @appfigures/agent-toolkit
Copy

AI Agent

Use Appfigures’ own high-level app expert to get answers about the app market without building anything yourself.

https://appfigures.com/agent
Open
Choose the Toolkit when integrating Appfigures Intelligence into your custom-built agent.

Start with the Agent Toolkit

Start with the same Appfigures actions that power the CLI, then use the Toolkit to build the agent, automation, or product your team needs.

npm install @appfigures/agent-toolkit
Copy
Read the documentation

Choose the way you work with Appfigures AI

AI Agent

Ask Appfigures’ own app expert.

CLI

Run app intelligence from the command line.

MCP Server

Connect an existing AI tool to Appfigures.

Agent Toolkit

Build your own app-intelligence agent or product.
reports

Understand the Market

Dive into industry reports, trend analyses, and growth forecasts to uncover opportunities and make smarter decisions with Appfigures.

Short Drama Apps: Key Trends for 2026

Data-driven look at mobile's fastest-growing streaming segment.
Get the Full Report for Free

AI Apps in 2025: Upcoming Trends & Opportunities

Two years of AI trends, user adoption, and revenue growth packed into one must-read industry report.
Get the Full Report for Free

Mobile Games in 2025: Growth Trends Shaping the $66B Market

Discover the secrets behind top-earning games, emerging market opportunities, and proven strategies.
Get the Full Report for Free

The 2024 Streaming App Industry Report: Leaders & Future Trends

In-depth insight into the thriving $7.8B video streaming app market.
Get the Full Report for Free

Powering growth for 300,000+ apps worldwide

Get started for free

Try Appfigures with our free Starter plan and track up to 5 apps. Upgrade anytime to unlock advanced insights, more apps, and premium features.

Guides

Learn From Proven Strategies

Explore expert insights, practical guides, and real-world examples designed to help you grow, optimize, and make smarter decisions.

Stay ahead of the app game

This Week in Apps

Join Ariel’s weekly newsletter for clear, useful insights on how apps grow. Backed by real data.

Your Name*
Email*
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.