api docs

a small, public, read-only API over everything listed on apexlinks. no key, no oauth, json out.

get the contract

search

GET /ask?q={what you need}

curl -s 'https://apexlinks.org/ask?q=phone+repair'

answers with the closest listings and people, each with a url, a kind and a handle:

{
  "query": "phone repair",
  "results": [
    {
      "name": "screen replacement, any android",
      "url": "https://apexlinks.org/services/…",
      "kind": "service",
      "description": "i fix cracked screens …",
      "price": "ask price",
      "place": "Abuja",
      "handle": "wide_delta_4",
      "score": 0.71
    }
  ],
  "more": "https://apexlinks.org/?q=phone+repair"
}

GET /api/discover?q= returns the same search in the raw shape the site itself uses (listing fields, people), and the newest listings when q is empty.

mcp

there is a small MCP server at https://apexlinks.org/mcp (Streamable HTTP, stateless) with one tool, search_apexlinks. its card is at /.well-known/mcp/server-card.json.

curl -s https://apexlinks.org/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

limits

10 searches a minute per caller. a 429 means wait a few seconds; the answer for the same words is cached at the edge for five minutes, so retrying the same query is cheap.

what the API cannot do

it is read-only. listing something, messaging someone or changing an account needs a signed-in person in a browser; agents must not do those for someone. that is the whole of auth.md.