How to add a pay per call data skill to your agent
Give a coding agent one skill file, then run 10 Google searches, 10 Reddit searches and 20 page scrapes with a cost table
On this page
You have a coding agent and a first research task to run using agent skills: 10 Google searches, 10 Reddit searches and 20 pages to scrape. Agent skill repositories, such as janestreet/agent_skills, were among the fastest growing on GitHub in the week of November 13, 2026. Purrkey publishes its own skill file: an agent that reads it can look up tools in the catalog, check inputs and prices, and run them, paying per call
The deliverable is a table that records each call, the tool id, the input, the output and a note. The setup is one skill file: the agent reads it, then inspects and runs tools. No integration code is part of this task. No run has been executed for this article, so the table below is a design, not a result
The task and the deliverable table design
Example inputs, invented for this guide
| Step | Tool | Input | Output | Note |
|---|---|---|---|---|
| 1 | anyapi.google.search | query: acme plumbing callout | (web results or empty) | one row per query |
| 2 | anyapi.reddit.search | query: acme plumbing | (posts or empty) | one row per query |
| 3 | anyapi.web.scrape | acme-plumbing.example/services | (text or Markdown) | one row per URL |
Values here are placeholders showing the shape. The agent fills one row per call: 10 rows for Google search, 10 for Reddit search and 20 for web scrape. The output cell holds the results, posts or page text that the tool returns; the note cell holds a short review marker
The tools and what each returns
Prices are as read on 2026-11-13. Agents call each through POST /v1/runs with toolIds anyapi.google.search, anyapi.reddit.search and anyapi.web.scrape
| Tool | Returns | Price per call | Used for |
|---|---|---|---|
anyapi.google.search | Google web results for a query | $0.002 max_call | first web search pass |
anyapi.reddit.search | Reddit posts matching a query | $0.0012 max_call | social discussion search |
anyapi.web.scrape | one URL scraped to text or Markdown | $0.0015 max_call | page text for review |
The catalog lists these prices as max_call, which means Maximum per call. Successful runs settle at the actual AnyAPI charge
Steps in order and the decision rule
Start with Google search, Reddit search and web scrape because they cover the first research tasks most agents get. The same skill exposes the rest of the catalog
- Ask the agent to read the skill file and inspect
anyapi.google.search,anyapi.reddit.searchandanyapi.web.scrape. It should check the current inputs and price before running - Run 10
anyapi.google.searchcalls, one query per call - Run 10
anyapi.reddit.searchcalls, one query per call - Run 20
anyapi.web.scrapecalls.anyapi.web.scrapecannot scrape more than one URL in a call, so 20 pages means 20 calls - Write each call into the table with tool id, input, output and note
Decision rule: use Google search for web results, Reddit search for posts, and web scrape for page text. If a call returns no output, leave the output cell empty and keep the row for the review count
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to run a first research task.
Check the current inputs and price of anyapi.google.search, anyapi.reddit.search and anyapi.web.scrape before running anything.
Run 10 calls of anyapi.google.search, one query per call, with these invented queries: acme plumbing callout; acme plumbing reviews; acme plumbing hours; acme plumbing emergency; acme plumbing quote; acme plumbing phone; acme plumbing services; acme plumbing cost; acme plumbing near me; acme plumbing complaints.
Run 10 calls of anyapi.reddit.search, one query per call, with these invented queries: acme plumbing; acme plumbing review; acme plumbing quote; acme plumbing cost; acme plumbing emergency; acme plumbing service; acme plumbing complaints; acme plumbing recommendation; acme plumbing local; acme plumbing help.
Run 20 calls of anyapi.web.scrape, one URL per call, with these invented host and path values: acme-plumbing.example/services; acme-plumbing.example/about; acme-plumbing.example/contact; acme-plumbing.example/pricing; acme-plumbing.example/reviews; acme-plumbing.example/faq; acme-plumbing.example/blog; acme-plumbing.example/team; acme-plumbing.example/areas; acme-plumbing.example/emergency; acme-plumbing.example/quote; acme-plumbing.example/gallery; acme-plumbing.example/testimonials; acme-plumbing.example/careers; acme-plumbing.example/privacy; acme-plumbing.example/terms; acme-plumbing.example/sitemap; acme-plumbing.example/plumbing; acme-plumbing.example/heating; acme-plumbing.example/drains.
Return a table with step, tool id, input, output and note. Leave output empty when a call returns nothing. Do not invent results. Do not write integration code.Swap the invented values for your own before running. Keep the first run to these calls so the cost table matches the plan
Estimated tool cost
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| First task: 10 searches | calls x max price | $0.002 per call | 10 | $0.02 |
| 10 Reddit searches | calls x max price | $0.0012 per call | 10 | $0.012 |
| 20 pages scraped | calls x max price | $0.0015 per call | 20 | $0.03 |
| First task total | 10 + 10 + 20 calls | $0.02 + $0.012 + $0.03 |
The totals are ceilings, not settled charges. Agent model fees are not counted
Next action
Agent skill repositories were among the fastest growing on GitHub in the week of November 13, 2026; the Purrkey skill file is the one the agent reads to inspect and run tools. Open the Google Search tool page and run the first Google search with the skill
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Google Search.FAQ
How do I add a pay per call data skill to my agent?
Point the agent at the Purrkey skill file. The agent reads it, then looks up tools in the catalog, checks inputs and prices, and runs them, paying per call.
Which tools does the first task use?
It uses anyapi.google.search for Google web results, anyapi.reddit.search for Reddit posts and anyapi.web.scrape for one URL scraped to text or Markdown.
What does anyapi.web.scrape return?
It returns one URL scraped to text or Markdown.
How much does the first task cost?
The plan is 10 Google searches at $0.002, $0.02; 10 Reddit searches at $0.0012, $0.012; and 20 scrapes at $0.0015, $0.03. The total is at most $0.062.
What should the agent return after the calls?
It should return a table with step, tool id, input, output and note, leaving output empty when a call returns nothing.
Do I need to write integration code?
No. The setup described in the article is one skill file: the agent reads it, then inspects and runs tools.
What inputs do the tools take?
The catalog describes a query for each search tool and one URL for anyapi.web.scrape.
Next step
Try this with Google Search
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.