Skip to content

Build, launch and monetize API products in a few lines of code

One file generates the API, CLI, MCP, SDK, docs, portal and Stripe billing, the plumbing tax every other API pays by hand.

Sign in with GitHubnpx apis.dev init

Your brand only. Public prices. Paid straight to your Stripe.

Free until you get paid.

What you sell

definition.ts18 lines
import { define, secret } from 'apis.dev'

/** Any company by its domain, with its headcount and sector. */
export default define({
  name: 'companyfacts', domain: 'companyfacts.apis.dev',
  sources: {
    firms: {
      origin: 'https://firms.example.com',
      key: secret('FIRMS_KEY'),
    },
  },
  Company: {
    domain:    { type: 'url!#',   from: 'firms', map: 'website' },
    employees: { type: 'number?', from: 'firms', map: 'headcount' },
    sector:    { type: 'string?', from: 'firms', map: 'industry' },
  },
  offer: { 'Company.get': , 'Company.search': 0.005 },
})
GET companyfacts.apis.dev/companies/acme.com
curl https://companyfacts.apis.dev/companies/acme.com
200 OK
X-Cost: price=0.002, currency="USD"$0.002 a call
{
  "domain": "acme.com",
  "employees": 240,
  "sector": "Software"
}
Company.get12,400 × 0.00224.80
Company.search1,300 × 0.0056.50
Paid to your Stripe · October 202631.30

Skip the plumbing tax.

To sell one API, you build ten other products first. Here all ten come from your file.

  • Landing sitecompanyfacts.apis.dev

  • Docs/docs

  • Developer portal and keys/dashboard

  • Stripe Checkout/checkout

  • Rate limits429 with Retry-After

  • MeteringX-Cost on every reply

  • CLInpx companyfacts

  • MCP server/mcp

  • SDKnpm i companyfacts

  • llms.txt and agents.json/llms.txt

Built by hand, the ten take months before your first sale. Then you run all ten every month, and agents still cannot find or pay for your API.

Your next buyer is an agent.

Software is bought one call at a time, and many of the callers are agents spending a budget someone gave them.

  • Storefrontdata an agent readsnot a page a person scrolls
  • Persuasionproofchecked before it pays
  • Loyaltybeing chosen againcall after call, against every other seller
  • Sign-upa budgeta person hands to an agent, with limits
  • Refusalan offerthe price and the fix, inside the reply
  • Receiptsignedthe buyer checks it, and disputes with it

One file, not five tools.

Each way to sell an API today costs you something a buyer never sees.

How sellers sell todayWhat it leaves you
A coding agent writes itThe code is free. Running the keys, billing, docs and on-call every month is not.
Five tools, stitched togetherFive bills, and five sources of truth that drift apart.
Someone else's storefrontTheir brand, their customer, their cut of every sale.
Build it all yourselfMonths before the first sale, then a platform team to keep it running.
An agency or a firmMargin capped by headcount, and nothing an agent can buy.
One file on APIs.DevEvery part generated and kept in step, under your brand, from the first call.

Your file runs the whole product.

Seven patterns, from facts sold per answer to a Marketplace, follow the same six steps.

  1. Define. Write what you sell, what it costs and who does the work.
    $ npx apis.dev init
  2. Launch. One deploy puts all eleven live on a free address, then on your own domain.
    $ npx apis.dev deploy
  3. Get found and chosen. People and agents find it, and agents read your price, terms and proof first.
    GET /.well-known/agents.json
  4. Get paid. People and agents sign up, call and pay. Stripe pays you directly.
    Paid to your Stripe · October 2026
  5. Deliver. An answer, a record, an edition, an agent's run, a filled order or reviewed work.
    ← 200 · X-Cost: price=0.002
  6. Grow. Each reply can sell the next step, what callers missed comes back to you, and every change ships as a diff.
    ← 402 · offers credits from $10

Six rules every product keeps.

APIs.Dev keeps them on its own product too.

HTTP/1.1 200 OKon every reply
Brand: yours only
Customers see your name and your domain, never APIs.Dev's
Prices: public
on every page and every reply, and readable by machines
Agents: first-class
anything a person can do, an agent can do, inside the budget it was given
People: part of the product
review, sign-off and expert work are steps like any other
Defaults: yours to override
decided for you, replaced one at a time, all in your file
Standards: open
HTTP, OpenAPI, MCP and llms.txt, and everything exports

Every price is public, including APIs.Dev's.

Nothing until your Customers pay you. Then a small share of what they pay, smaller on each plan.

  • FreeBuilding it, and running something real$0 a month + 2%
  • LaunchFinding out who wants it, and getting the first Customers$25 a month + 1%
  • TeamMore than five people, or building for clients$99 a month + 0.5%
  • ScalePassing a security review$399 a month + 0.25%

You keep, on Free980.00

Launch is cheaper above $2,500, Team is cheaper above $14,800, Scale is cheaper above $120,000 a month. Every plan, compared

Run an API business.

npx apis.dev init
Sign in with GitHub

A live, priced API product under your name, earning from the first call.