Publish a new REST API with custom multi-tier pricing
publish_apiSubmit a new REST API to IndieAPIs with endpoints (or OpenAPI 3 JSON) and 1–10 custom hard-capped pricing plans (Free, Starter, Pro, Scale, Enterprise, etc.). Runs live endpoint probe + AI review and returns the live API URL and MCP URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"tagline": "<tagline>",
"description": "<description>",
"base_url": "<base_url>"
},
"name": "publish_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Public API name (e.g. Global Weather Forecast API) | |
| plans | No | 1–10 custom hard-capped pricing plans (e.g. Free $0, Starter $9, Pro $29, Scale $99) | |
| tagline | Yes | One-line value proposition | |
| base_url | Yes | Public HTTPS upstream base URL (hidden from buyers behind IndieAPIs gateway) | |
| category | No | Category slug (sports, automotive, finance, ai-tools, developer, data, utilities) | |
| logo_url | No | Optional HTTPS logo URL | |
| endpoints | No | List of endpoints (required unless openapi_json is provided) | |
| description | Yes | Detailed docs & use cases (Markdown supported) | |
| openapi_json | No | Optional OpenAPI 3.0 JSON spec (auto-imports up to 25 endpoints) | |
| upstream_headers | No | Optional secret upstream headers (encrypted with AES-256-GCM) | |
| cache_ttl_seconds | No | Optional GET cache TTL in seconds (0–86400) |