# What is thelastapi

> One API and one key for what a new business needs online, built for builders and their AI agents.

thelastapi is one API for everything a new business needs online: **hosting, a Postgres database, sign-in, email, AI, web data (scraping, search, competitor ads), payments and company formation**, with usage, limits and keys in one place. It is built for builders and the AI agents that work for them: Claude or ChatGPT with nothing installed, Claude Code, Codex, Cursor or your own. See the [Quickstart](https://thelastapi.dev/docs/quickstart) for both starts.

You ask for a capability; thelastapi provisions it, keeps its secrets, meters it and hands your app one key. Every service you call is a thelastapi service, under one name and one key, and it keeps getting better without breaking your app.

```bash
vibiz init "Acme Bakery"        # https://acme-bakery.vibiz.app, with a database and sign-in
vibiz dev                       # a development database, sign-in and AI key for local work
vibiz deploy                    # live
```

Take all of it, or just one piece: every service works on its own for an app hosted anywhere, a plain site, a mobile app's backend or a script ([Use one service](https://thelastapi.dev/docs/use-one)).

## What you get

| Product | In one line |
| --- | --- |
| [Hosting](https://thelastapi.dev/docs/hosting) | Deploy a folder to `<slug>.vibiz.app`; previews, instant promote and rollback |
| [Database](https://thelastapi.dev/docs/database) | Postgres per project, with an empty development branch for agents and laptops |
| [Sign-in](https://thelastapi.dev/docs/sign-in) | Email and password, magic links, Google, GitHub and Vercel sign-in |
| [Email](https://thelastapi.dev/docs/email) | Send from `<mailbox>@<slug>.vibiz.app` |
| [AI](https://thelastapi.dev/docs/ai) | An OpenAI-compatible gateway: chat, embeddings, images, video, speech, transcription |
| [Files](https://thelastapi.dev/docs/files) | A drive per project: every generated image, video and audio is kept there with a permanent link |
| [Payments](https://thelastapi.dev/docs/payments) | One-time and recurring payments from the first call; thelastapi is the merchant |
| [Company](https://thelastapi.dev/docs/company) | Form a US LLC or C-Corp, with the registered agent and the EIN |
| [Analytics](https://thelastapi.dev/docs/analytics) | Cookieless web analytics and session replay |
| [Web data](https://thelastapi.dev/docs/actions) | Scrape or crawl a site, search the web, competitor ads from the Meta Ad Library, Google Maps places, reviews, Instagram and TikTok, product prices |
| [Domains](https://thelastapi.dev/docs/domains) | Buy a domain from credits and use it on any project with no DNS, or connect one you own; redirect an old one to a new one |
| [Search](https://thelastapi.dev/docs/search) | New pages sent to IndexNow after every deploy; each site verified and read in your Google Search Console and Bing Webmaster |
| [Mission Control](https://thelastapi.dev/docs/mission-control) | Every business on one board, checked about hourly, from its domain to its sales, with how to fix each problem |
| [Phone](https://thelastapi.dev/docs/phone) | A US number for texts and calls, with a voice agent |
| [Social](https://thelastapi.dev/docs/social) | Post and schedule to the business's own social accounts, and run its ad campaigns with the owner approving |
| [Connectors](https://thelastapi.dev/docs/connectors) | Any HTTP API from a manifest or an OpenAPI spec, its key kept sealed |
| [Usage and limits](https://thelastapi.dev/docs/usage) | What was spent, per tool, model, project, key or end user, and today's ceilings |

## How you use it

- **The console** at [thelastapi.dev](https://thelastapi.dev): projects, deploys, payments, company, spend and keys, for the person who owns the account.
- **Claude or ChatGPT**: add `https://thelastapi.dev/mcp` as a custom connector and ask for a site; nothing to install. See [Agents](https://thelastapi.dev/docs/agents#chat-apps-claude-chatgpt).
- **The CLI** (`vibiz`) and the **MCP server** (`vibiz mcp`): what coding agents and terminals use. See [Agents](https://thelastapi.dev/docs/agents).
- **The HTTP API** at `https://thelastapi.dev/v1`: everything the CLI and console do. See the [API reference](https://thelastapi.dev/docs/api).
- **`@vibiz/app`**: the client a running app uses, on one key. See [@vibiz/app](https://thelastapi.dev/docs/app-sdk).

## The rule that shapes everything

An agent's key does what the person allowed when they approved its sign-in: **Full access** (the default) can do everything the owner can; **Limited** creates projects, deploys, sends email, uses AI and does everything in development, but **never holds a production secret or moves live money**. When a Limited key hits one of those it gets `403` with `details.next_step`: the link for the person to do it, and the one to give the key full access. See [Keys and environments](https://thelastapi.dev/docs/keys).

## Status

Create your account at [thelastapi.dev/start](https://thelastapi.dev/start). Everything the CLI, the MCP server and `@vibiz/app` do is the plain HTTP API, documented here. Prices that are not decided say so on their page. Guides, how-tos and comparisons are on the blog at `/blog` (each post also as markdown: add `.md`; feed at `/blog/rss.xml`).
