Endpoints

POST /v1/discover

Search for endpoints using natural language. Free.

Search the catalog with a short natural-language query. Ranked. Free.

Request

POST /v1/discover

Headers

HeaderRequiredDescription
AuthorizationYesBearer <api-key>
Content-TypeYesapplication/json

Body

FieldTypeRequiredDescription
querystringYesNatural-language search
limitnumberNoMax results, 1–50 (default 5)
minScorenumberNoDrop results scoring below this
includeUnavailablebooleanNoInclude outage/unconfigured endpoints (default false)

Example

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

Response

200 OK

FieldTypeDescription
itemsarrayMatching endpoints
items[].providerstringProvider slug
items[].slugstringEndpoint slug (pass as endpoint to inspect/run)
items[].namestringDisplay name
items[].descriptionstringWhat it does
items[].priceobjectkind plus micro-dollar amounts
items[].verifiedbooleanOperator-verified
items[].availabilityobject{ available, reason }
items[].healthobjectStatus plus p50/p95 latency
items[].tagsstring[]
items[].scorenumberRelevance (when query is set)
hintsarrayNext-step guidance

Example

{
  "items": [
    {
      "provider": "exa",
      "slug": "/search",
      "name": "Exa Search",
      "description": "Web search",
      "price": { "kind": "PER_CALL", "flatUsdMicro": 5000 },
      "verified": true,
      "availability": { "available": true, "reason": null },
      "health": { "status": "healthy", "runTimeMs": { "p50": 440, "p95": 1200 } },
      "tags": ["search"],
      "score": 0.87
    }
  ]
}

Next

Use POST /v1/inspect before you spend.

On this page