Skip to content

Skip the plumbing tax.

Build, launch and monetize API products in a few lines of code. The API, CLI, MCP, SDK, docs, portal and Stripe billing are generated for you.

Sign in with GitHubnpx apis.dev init

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

GET /companies/acme.com
definition.tsoffer: { 'Company.get': }
curl https://companyfacts.apis.dev/companies/acme.com \  -H "Authorization: Bearer $COMPANYFACTS_KEY"
200 OK
X-Cost: price=0.002, currency="USD"0.002 USD 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.30USD

The plumbing tax.

To sell one API, you build ten other products first. Here you write one file, and the ten are generated from it.

definition.ts
15 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': 0.002, 'Company.search': 0.005 },
})

Generated on https://companyfacts.apis.dev

  • API keys Live and Test, in /dashboard
  • Rate limits 429 with Retry-After
  • Metering X-Cost on every reply
  • Stripe billing credits and plans, by Checkout
  • Docs /docs
  • SDKs npm i companyfacts
  • A CLI npx companyfacts
  • An MCP server /mcp
  • A portal /dashboard
  • A landing page /
  • Your APIdefinition.ts

Built by hand, they cost months before your first Customer, an API agents cannot find or call, and revenue left on the table.

Five things you can sell.

Any company by its domain: headcount and sector. Instead of bulk data exports. Read the pattern

GET /companies/acme.com
200 OK
X-Cost: price=0.002, currency="USD"
{
  "domain": "acme.com",
  "employees": 240,
  "sector": "Software"
}

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.