Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: LPSignal Agents API
version: 1.0.0
description: 'Concentrated-liquidity LP opportunities ranked by net APR (fees − impermanent loss) of specific price ranges, from hourly backtests on exact on-chain fees; signals, a scored track record, risk alerts and a smart-LP leaderboard.
All APR-like numbers are fractions per year (0.42 = 42%), backtested history, not a forecast.
Reads work without a key (the free view: opportunity signals 24 h late, the smart-LP top 10 masked). An API key (Settings on lpsignal.app) is sent as `Authorization: Bearer lps_…`.
Live push: WebSocket `wss://api.lpsignal.app/v1/stream?key=…` and signed webhooks (see the docs). AI agents: the MCP server at `/v1/mcp` (sign in with OAuth 2.1, or an API key) and `/v1/mcp/public` (the free view, no sign-in).
Errors are JSON `{ "error": "", … }`: 400 validation, 401 auth, 403 plan, 404, 429 rate limit (Retry-After).'
contact:
email: support@lpsignal.app
url: https://lpsignal.app/docs
servers:
- url: https://api.lpsignal.app
security:
- {}
- apiKey: []
tags:
- name: Agents
paths:
/v1/mcp:
get:
tags:
- Agents
operationId: mcpGet
summary: 'Not used (405): the MCP server answers POSTs only'
security:
- {}
responses:
'405':
description: POST only
post:
tags:
- Agents
operationId: mcp
summary: MCP server for AI agents, as your account (OAuth sign-in or API key)
security:
- apiKey: []
description: 'Model Context Protocol (Streamable HTTP, stateless JSON-RPC): initialize, tools/list, tools/call. Read-only tools: list_pools, find_pair_pools, get_pool, backtest_range, list_signals, signal_track_record, smart_lp_leaderboard, my_account. Needs an OAuth 2.1 access token (discovery: /.well-known/oauth-protected-resource/v1/mcp) or an API key; without one: 401 with WWW-Authenticate.'
requestBody:
required: true
content:
application/json:
schema:
type: object
description: one JSON-RPC 2.0 message per request (no batches)
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
description: a JSON-RPC 2.0 response
'202':
description: notification accepted
'401':
description: 'sign in: WWW-Authenticate names the protected resource metadata'
/v1/mcp/public:
get:
tags:
- Agents
operationId: mcpPublicGet
summary: 'Not used (405): POST only'
security:
- {}
responses:
'405':
description: POST only
post:
tags:
- Agents
operationId: mcpPublic
summary: MCP server for AI agents, the free view without sign-in
security:
- {}
description: The same tools as /v1/mcp except my_account, as an anonymous caller sees them (opportunity signals 24 h late, the smart-LP top 10 masked). Credentials are ignored.
requestBody:
required: true
content:
application/json:
schema:
type: object
description: one JSON-RPC 2.0 message per request (no batches)
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
description: a JSON-RPC 2.0 response
'202':
description: notification accepted
components:
securitySchemes:
apiKey:
type: http
scheme: bearer
description: 'An LPSignal API key: `Authorization: Bearer lps_…`'
externalDocs:
url: https://lpsignal.app/docs
description: 'Documentation, SDKs (npm/PyPI: lpsignal), WebSocket and webhooks'