API Overview

Discover, inspect, and run tools programmatically.

The ToolPlexer HTTP API lets you discover, inspect, and run tools programmatically.

Base URL

https://api.toolplexer.com

Authentication

All /v1/* endpoints require Bearer authentication:

Authorization: Bearer tpl_live_...

Create a key in the dashboard. The key belongs to one workspace.

Endpoints

Catalog

MethodPathDescription
POST/v1/discoverSearch for endpoints
GET/v1/toolsList the catalog
POST/v1/inspectGet full endpoint details
POST/v1/runExecute a provider endpoint
POST/v1/executeRoute a task to a provider

Runs

MethodPathDescription
GET/v1/runsList runs
GET/v1/runs/getGet run status and results
POST/v1/runs/stopStop a queued run
POST/v1/runs/feedbackRate a run 1–5

Wallet

MethodPathDescription
GET/v1/balanceCurrent balance
GET/v1/whoamiWorkspace and key
GET/v1/activitiesWallet transactions

On-chain payment: Pay with x402.

Request format

JSON bodies with Content-Type: application/json.

curl -X POST https://api.toolplexer.com/v1/discover \
  -H "Authorization: Bearer tpl_live_..." \
  -H "Content-Type: application/json" \
  -d '{"query":"web search"}'

Response format

Successful responses return the resource directly. Errors:

{
  "code": 400,
  "message": "Descriptive error message"
}

Object responses include hints. Every response has an x-request-id header.

Pagination

List endpoints use cursor pagination.

ParameterTypeDescription
limitnumberMax items (default and max vary by endpoint)
cursorstringOpaque cursor from a previous response
{
  "items": [],
  "nextCursor": "1788724875390:…"
}

If nextCursor is null or absent, you are on the last page.

Error codes

CodeMeaning
202Accepted — the run is async. Poll GET /v1/runs/get.
400Bad request — invalid input or JSON
401Missing or invalid API key
403Not allowed
404Not found
409Conflict — e.g. stopping a run that is not stoppable
503Endpoint unavailable (outage or unconfigured)

Insufficient funds return 200 with status: "BLOCKED" and controls, not 402.

On this page