LayerHop Admin API

Operator-only partner registry, fee ledger and business reports (D-020). Every admin route returns 404 unless the operator sets `ADMIN_TOKEN` or the owner sign-in (`ADMIN_EMAIL` + `ADMIN_PASSWORD_HASH`), and 401 without the matching `Authorization: Bearer` token or the owner's `lh_admin` cookie from `POST /v1/admin/login`. Cookie writes must come from the dashboard origin.

GitHub OpenAPI

Operations 41

GET /v1/admin/partners List partners #
GET /v1/admin/partners/{id}/ledger Partner fee ledger #
POST /v1/admin/partners/{id}/approve Approve a partner #
POST /v1/admin/partners/{id}/suspend Suspend a partner #
GET /v1/admin/partners/{id}/payouts Partner balances and payouts #
POST /v1/admin/partners/{id}/payouts Record a payout #
POST /v1/admin/partners/{id}/payouts/{payoutId}/void Void a payout #
GET /v1/admin/payouts/owed Partners owed a payout #
GET /v1/admin/traffic API traffic per day #
GET /v1/admin/filler Filler bot results #
POST /v1/admin/login Owner sign-in #
POST /v1/admin/logout Owner sign-out #
GET /v1/admin/session Current owner session #
GET /v1/admin/overview Business overview #
GET /v1/admin/revenue Revenue #
GET /v1/admin/revenue/orders.csv Revenue orders as CSV #
GET /v1/admin/developers Developer signups and API key usage #
GET /v1/admin/funnel Swap funnel per day #
GET /v1/admin/funnel/errors Top swap funnel errors #
GET /v1/admin/wallets LayerHop's own wallets and balances #
POST /v1/admin/treasury/transfer Build an unsigned transfer between two registry wallets #
POST /v1/admin/treasury/swap-check Check a quote for a treasury swap #
GET /v1/admin/treasury/moves Treasury log #
POST /v1/admin/treasury/moves Record or update a treasury move #
GET /v1/admin/treasury/fee-sources Claimable fee sources #
GET /v1/admin/route-health Route health per chain #
GET /v1/admin/price-check Price competitiveness vs going direct #
PATCH /v1/admin/keys/{id} Set a key's rate limit #
POST /v1/admin/launch/hide Hide, unhide or feature a launched token #
GET /v1/admin/reports List community reports for review #
POST /v1/admin/reports/{id}/approve Approve a community report #
POST /v1/admin/reports/{id}/hide Hide a community report #
GET /v1/admin/ecosystem List ecosystem submissions for review #
POST /v1/admin/ecosystem/{id}/approve Approve an ecosystem submission #
POST /v1/admin/ecosystem/{id}/reject Reject an ecosystem submission #
GET /v1/admin/partner-program/applications List partner program applications #
POST /v1/admin/partner-program/applications/{id} Update a partner program application #
GET /v1/admin/referrals/rewards Referral reward balances #
POST /v1/admin/referrals/payouts Record a referral reward payout #
POST /v1/admin/referrals/payouts/{id}/void Void a referral payout #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/layerhop-com:layerhop-com-admin-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

layerhop-com-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Layerhop Com Admin API
  version: 0.1.0
  contact:
    name: LayerHop
    url: https://docs.layerhop.com
  description: 'Operations tagged Admin 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:


# --- truncated at 32 KB (185 KB total) ---
# Full source: https://artifacts.apis.io/layerhop-com/openapi/layerhop-com-admin-api-openapi.yml