LayerHop Status API
Public platform status, the data behind status.layerhop.com.
Public platform status, the data behind status.layerhop.com.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/layerhop-com:layerhop-com-status-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Layerhop Com Status API
version: 0.1.0
contact:
name: LayerHop
url: https://docs.layerhop.com
description: 'Operations tagged Status across 2 of this provider''s published API definitions: layerhop-com-openapi.yaml, openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.layerhop.com
description: Hosted API (production)
- url: http://localhost:8787
description: Local API (`pnpm --filter @layerhop/api dev`)
security:
- {}
- ApiKey: []
tags:
- name: Status
description: Public platform status, the data behind status.layerhop.com.
paths:
/v1/status/bridge:
get:
tags:
- Status
operationId: getBridgeStatus
summary: Get bridge route status
description: 'Public, no key, CORS open, cached for a minute: the bridge routes section of
layerhop.com/status. Per chain, whether routes into and out of it work right now (route health:
small read-only probe quotes every few hours, a direction turns `failing` after two failed
checks in a row), and per main route pair (both directions) whether it works (the source''s
routes out and the destination''s routes in; derived, not probed per pair). Success rate and
typical fill time come from LayerHop''s own live orders over the last 7 days (`fills`, each with
its sample size `n`; under `smallSample` orders a figure says little). Fill time runs from the
transaction being built to the fill, so it includes the time a user took to sign. Also lists the
route providers with their monitor state and fills, and route incidents of the last 14 days (a
direction that turned failing and, once resolved, when it worked again).'
responses:
'200':
description: Bridge route status.
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/BridgeStatus'
example:
status: operational
title: All main routes are working (2 smaller chains have limited routes)
generatedAt: '2026-10-26T12:00:00.000Z'
windowDays: 7
smallSample: 20
routeHealth:
lastRunAt: '2026-10-26T11:10:00.000Z'
intervalMinutes: 120
stale: false
counts:
ok: 160
deposit_only: 1
withdraw_only: 0
unavailable: 1
unknown: 4
overall:
n: 412
filled: 405
successRate: 0.983
medianFillSeconds: 34
p90FillSeconds: 140
chains:
- chainId: 8453
slug: base
name: Base
logoURI: https://example.com/base.svg
popular: true
status: ok
in: ok
out: ok
checkedAt: '2026-10-26T11:10:00.000Z'
fills:
n: 230
filled: 228
successRate: 0.9913
medianFillSeconds: 22
p90FillSeconds: 90
pairs:
- srcChainId: 1
dstChainId: 8453
src: Ethereum
dst: Base
state: ok
fills:
n: 40
filled: 40
successRate: 1
medianFillSeconds: 41
p90FillSeconds: 120
providers:
- id: relay
name: Relay
status: operational
fills:
n: 300
filled: 297
successRate: 0.99
medianFillSeconds: 18
p90FillSeconds: 60
incidents:
- chainId: 14
chain: Flare
direction: out
startedAt: '2026-10-24T08:00:00.000Z'
resolvedAt: '2026-10-25T10:00:00.000Z'
errorCode: NO_ROUTE
'429':
$ref: '#/components/responses/TooManyRequests'
servers:
- url: https://api.layerhop.com
description: Hosted API (production)
- url: http://localhost:8787
description: Local API (`pnpm --filter @layerhop/api dev`)
/v1/status:
get:
tags:
- Status
operationId: getStatus
summary: Get platform status
description: 'Public, no key, CORS open, cached for 30 seconds: the data behind status.layerhop.com. Every
component is probed each minute; `status` is `outage` when a component is down, `degraded` when
one failed its latest probe, else `operational`. Includes 90 days of daily uptime per component
and the incidents of the last 14 days.'
responses:
'200':
description: Current status.
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
example:
status: operational
updatedAt: '2026-10-18T10:00:00.000Z'
components:
- id: api
name: API
group: Core
status: operational
latencyMs: 84
uptime90d: 99.98
days:
- date: '2026-10-18'
uptime: 100
- id: provider:relay
name: Relay
group: Liquidity providers
status: operational
latencyMs: 412
uptime90d: 99.9
days:
- date: '2026-10-18'
uptime: 100
incidents:
- id: inc_01k7r1a8c4x8q6r0v3b5n7p9d
componentId: provider:relay
component: Relay
title: Relay quotes failing
startedAt: '2026-10-12T08:10:00.000Z'
resolvedAt: '2026-10-12T08:24:00.000Z'
url: https://layerhop.com/status
servers:
- url: https://api.layerhop.com
description: Hosted API (production)
- url: http://localhost:8787
description: Local API (`pnpm --filter @layerhop/api dev`)
components:
schemas:
StatusResponse:
type: object
required:
- status
- updatedAt
- components
- incidents
- url
properties:
status:
type: string
enum:
- operational
- degraded
- outage
updatedAt:
type: string
format: date-time
components:
type: array
items:
$ref: '#/components/schemas/StatusComponent'
incidents:
type: array
description: Incidents started in the last 14 days, newest first.
items:
$ref: '#/components/schemas/StatusIncident'
url:
type: string
format: uri
description: The status page.
StatusIncident:
type: object
required:
- id
- componentId
- component
- title
- startedAt
- resolvedAt
properties:
id:
type: string
componentId:
type: string
component:
type: string
title:
type: string
startedAt:
type: string
format: date-time
resolvedAt:
type:
- string
- 'null'
format: date-time
RouteState:
type: string
enum:
- ok
- failing
- unknown
ComponentStatus:
type: string
description: '`operational`, `degraded` (the latest probe failed) or `down` (an open incident).'
enum:
- operational
- degraded
- down
StatusComponent:
type: object
required:
- id
- name
- group
- status
- latencyMs
- uptime90d
- days
properties:
id:
type: string
description: '`api`, `web`, `worker`, `checkout`, `dashboard`, `docs`, `mcp`, `bot` or `provider:{id}`.'
name:
type: string
group:
type: string
description: '`Core`, `Payments`, `Developer tools` or `Liquidity providers`.'
status:
$ref: '#/components/schemas/ComponentStatus'
latencyMs:
type:
- integer
- 'null'
description: Latest probe (last 15 minutes).
uptime90d:
type:
- number
- 'null'
description: Percent of successful probes over 90 days.
days:
type: array
description: The last 90 UTC days, oldest first.
items:
type: object
required:
- date
- uptime
properties:
date:
type: string
format: date
uptime:
type:
- number
- 'null'
description: Percent; null when there is no data.
Error:
type: object
description: Every non-2xx response has this body.
required:
- error
properties:
error:
type: object
required:
- code
- message
- requestId
- docsUrl
properties:
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
description: Human-readable detail. Do not parse it.
requestId:
type: string
format: uuid
description: Same value as the `x-request-id` header.
docsUrl:
type: string
format: uri
description: Error catalog page, `https://docs.layerhop.com/errors/{code}`.
details:
type: object
description: 'Extra structured data, only on some errors. `NO_ROUTE` (and `AMOUNT_TOO_SMALL` /
`AMOUNT_TOO_LARGE` decided from the providers'' answers) on a quote carry `errors`: why
each provider returned no quote, the same entries a successful response lists in `errors`.
`AMOUNT_TOO_SMALL` on a quote may also carry the route''s minimum (D-036): `minAmount`,
`minAmountUsd`, `minAmountApprox`. `NO_ROUTE` on a live quote (and `UNSUPPORTED_CHAIN`
into a route-restricted chain such as Blast) may carry `suggestions` (D-053).
'
properties:
errors:
type: array
items:
$ref: '#/components/schemas/ProviderError'
suggestions:
type: array
maxItems: 4
description: '`NO_ROUTE` / `UNSUPPORTED_CHAIN` on a live quote: alternatives that quoted, best first (D-053).'
items:
$ref: '#/components/schemas/RouteSuggestion'
minAmount:
type: string
pattern: ^\d+$
description: '`AMOUNT_TOO_SMALL`: smallest input known to quote on this route, base units of `srcToken`.'
minAmountUsd:
type: number
description: '`AMOUNT_TOO_SMALL`: `minAmount` in USD, when the token has a price.'
minAmountApprox:
type: boolean
description: '`AMOUNT_TOO_SMALL`: `true` when `minAmount` was found by probing larger amounts ($10 / $25 / $50), so the true minimum is at most this; `false` when a provider reported it.'
ErrorCode:
type: string
description: Stable error code. Each has a page at `https://docs.layerhop.com/errors/{code}`.
enum:
- INVALID_PARAMS
- UNSUPPORTED_CHAIN
- UNSUPPORTED_TOKEN
- AMOUNT_TOO_SMALL
- AMOUNT_TOO_LARGE
- CALLS_REVERTED
- LAUNCH_IMAGE_INVALID
- NO_ROUTE
- ROUTE_EXCLUDED
- QUOTE_NOT_FOUND
- QUOTE_EXPIRED
- ORDER_NOT_FOUND
- PROVIDER_ERROR
- PROVIDER_TIMEOUT
- RATE_LIMITED
- QUOTA_EXCEEDED
- UNAUTHORIZED
- FORBIDDEN
- ADDRESS_SANCTIONED
- NOT_FOUND
- CONFLICT
- GASLESS_PENDING
- GASLESS_FAILED
- MARKET_UNAVAILABLE
- LIMIT_ORDER_REJECTED
- INTERNAL
ProviderError:
type: object
description: A provider that failed while the request as a whole succeeded.
required:
- provider
- code
- message
properties:
provider:
$ref: '#/components/schemas/ProviderId'
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
RouteSuggestion:
description: 'An alternative to a route that returned no quote (D-053). `dst_token`: same payment, another
destination token. `src_token`: same destination token, paid with another source token worth the
same. `via_hub`: two signed steps through `hub` (`steps[0]` then `steps[1]`, each its own quote,
order and signature); the top-level fields describe the whole trip.
'
allOf:
- $ref: '#/components/schemas/RouteLeg'
- type: object
required:
- kind
- message
properties:
kind:
type: string
enum:
- dst_token
- src_token
- via_hub
message:
type: string
description: Short text for a button, e.g. "Receive USDC on Ethereum instead".
symbol:
type: string
description: 'The token that changed: the new source or destination token, or the hub token.'
hub:
type: object
description: '`via_hub` only: the token between the two steps.'
required:
- chainId
- token
- symbol
- decimals
properties:
chainId:
type: integer
token:
type: string
symbol:
type: string
decimals:
type: integer
steps:
type: array
description: '`via_hub` only: the two legs in order.'
minItems: 2
maxItems: 2
items:
$ref: '#/components/schemas/RouteLeg'
ProviderId:
type: string
description: 'Liquidity provider. Loaded by default: `jupiter`, `relay`, `debridge`, `zerox`, `kyberswap`, `lifi`, `mayan`,
`blast-native` (Blast''s canonical bridge: ETH on Ethereum → ETH on Blast only, no LayerHop fee).
`across` (Across Protocol, cross-chain EVM ↔ EVM), `baltex` (Baltex exchanges and DEX swaps), `routefun`
(Route, same-chain), `bebop` (Bebop RFQ and Aggregation, same-chain), `near-intents` (NEAR Intents 1Click),
`thorchain` and `chainflip` (native BTC and other non-EVM routes) `layerhop-solver` (LayerHop''s own solver: USDC between Base,
Arbitrum and OP Mainnet, filled from our inventory) and `layerhop-router` (LayerHop''s own same-chain
router on Robinhood Chain and Berachain) are built but not loaded by default.
`odos` is shut down; `mock` exists only in local
development (`LAYERHOP_ENABLE_MOCK=1`). `sandbox` serves every request made with an `lh_test_` key.
`direct` is a plain token transfer, used by checkout when the payer already holds the settlement token.
'
enum:
- jupiter
- relay
- debridge
- mayan
- zerox
- kyberswap
- odos
- lifi
- blast-native
- across
- baltex
- routefun
- bebop
- near-intents
- thorchain
- chainflip
- layerhop-router
- layerhop-solver
- mock
- sandbox
- direct
FillStats:
type: object
description: Live orders that reached an outcome in the window, with their sample size.
required:
- n
- filled
- successRate
- medianFillSeconds
- p90FillSeconds
properties:
n:
type: integer
description: Orders filled, refunded or failed.
filled:
type: integer
successRate:
type:
- number
- 'null'
description: filled / n.
medianFillSeconds:
type:
- integer
- 'null'
description: From building the transaction to the fill (includes signing time).
p90FillSeconds:
type:
- integer
- 'null'
BridgeStatus:
type: object
required:
- status
- title
- generatedAt
- windowDays
- smallSample
- routeHealth
- counts
- overall
- chains
- pairs
- providers
- incidents
properties:
status:
type: string
enum:
- operational
- degraded
- outage
- unknown
description: '`unknown` when route checks are missing or stale.'
title:
type: string
generatedAt:
type: string
format: date-time
windowDays:
type: integer
smallSample:
type: integer
description: Below this many orders a figure is a small sample.
routeHealth:
type: object
required:
- lastRunAt
- intervalMinutes
- stale
properties:
lastRunAt:
type:
- string
- 'null'
format: date-time
intervalMinutes:
type: integer
stale:
type: boolean
counts:
type: object
additionalProperties:
type: integer
description: Chains per route health status.
overall:
$ref: '#/components/schemas/FillStats'
chains:
type: array
items:
type: object
required:
- chainId
- slug
- name
- logoURI
- popular
- status
- in
- out
- checkedAt
- fills
properties:
chainId:
type: integer
slug:
type: string
name:
type: string
logoURI:
type: string
popular:
type: boolean
status:
type: string
enum:
- ok
- deposit_only
- withdraw_only
- unavailable
- unknown
in:
$ref: '#/components/schemas/RouteState'
out:
$ref: '#/components/schemas/RouteState'
checkedAt:
type:
- string
- 'null'
format: date-time
fills:
$ref: '#/components/schemas/FillStats'
pairs:
type: array
items:
type: object
required:
- srcChainId
- dstChainId
- src
- dst
- state
- fills
properties:
srcChainId:
type: integer
dstChainId:
type: integer
src:
type: string
dst:
type: string
state:
$ref: '#/components/schemas/RouteState'
fills:
$ref: '#/components/schemas/FillStats'
providers:
type: array
items:
type: object
required:
- id
- name
- status
- fills
properties:
id:
type: string
name:
type: string
status:
type: string
enum:
- operational
- degraded
- down
- unknown
fills:
$ref: '#/components/schemas/FillStats'
incidents:
type: array
items:
type: object
required:
- chainId
- chain
- direction
- startedAt
- resolvedAt
- errorCode
properties:
chainId:
type: integer
chain:
type: string
direction:
type: string
enum:
- in
- out
startedAt:
type:
- string
- 'null'
format: date-time
description: 'null: it started before the 14-day window.'
resolvedAt:
type:
- string
- 'null'
format: date-time
description: 'null: ongoing.'
errorCode:
type:
- string
- 'null'
RouteLeg:
type: object
description: One quotable leg, in the same terms as a quote request. Amounts are base units.
required:
- srcChain
- srcToken
- amount
- dstChain
- dstToken
properties:
srcChain:
type: integer
description: Source chain id.
srcToken:
type: string
description: 'Source token address or mint (native coin: the zero address; SOL: the system program id).'
amount:
type: string
pattern: ^\d+$
description: Input in base units of `srcToken`.
dstChain:
type: integer
description: Destination chain id.
dstToken:
type: string
dstAmount:
type: string
pattern: ^\d+$
description: Estimated output in base units of `dstToken` (from the check quote; scaled when served from cache).
headers:
RequestId:
description: Unique id for this request. Quote it when you report a problem.
schema:
type: string
format: uuid
responses:
TooManyRequests:
description: 'Over your rate limit (`RATE_LIMITED`): the key''s `rateLimitRpm`, or `ANON_RATE_LIMIT_RPM` per IP
without a key. Wait `retry-after` seconds.
'
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
retry-after:
description: Seconds until a request will be accepted.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: RATE_LIMITED
message: Rate limit of 120 requests/minute exceeded; retry in 1s
requestId: 0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21
docsUrl: https://docs.layerhop.com/errors/RATE_LIMITED
securitySchemes:
ApiKey:
type: apiKey
in: header
name: x-api-key
description: 'Optional. An `lh_live_…` key from the dashboard attributes requests and orders to your account
and raises your rate limit (per key, default 120 requests/minute; without a key the limit is
per IP). An invalid or revoked key is rejected with `UNAUTHORIZED`. If your account has an
active partner profile, the key selects your partner fee and allows `integratorFeeBps`.
An `lh_test_…` key switches every request to **test mode**: quotes come from the `sandbox`
provider (priced from live USD prices), built transactions are placeholders that move no funds
(`tx.sandbox: true`), and reported orders run a simulated lifecycle (pending, then filled in about
10 seconds) with webhooks sent to your test endpoints only. Amounts ending in `4001` refund,
`4002` fail and `4004` return `NO_ROUTE`. Test and live data never mix: a quote, order or
webhook of one mode is invisible to the other.
'
Session:
type: apiKey
in: cookie
name: lh_session
description: 'Dashboard session cookie set by `POST /v1/auth/verify` (HttpOnly, Secure, SameSite=Lax,
7 days). Auth and Dashboard routes only.
'
AdminBearer:
type: http
scheme: bearer
description: Operator `ADMIN_TOKEN`. Admin routes only.
AdminSession:
type: apiKey
in: cookie
name: lh_admin
description: Owner sign-in cookie set by `POST /v1/admin/login` (12 hours). Admin routes only.
x-refined-from:
- layerhop-com-openapi.yaml
- openapi.yaml