Skip to content

Wrapping model & access

Pact Market wraps a curated set of endpoints. The list isn’t published during private beta — endpoint identifiers are issued to private-beta users at access time alongside the API key.

Each curated endpoint has an on-chain EndpointConfig PDA holding:

  • Premium rate (bps or fixed per call).
  • Classifier rules — which codes count as client_error / server_error / success.
  • Settler authority for that endpoint.
  • Pause flag — operational kill switch.

Market accepts the call, debits the principal, forwards upstream, classifies the response, and queues the call for settlement. Full flow: Concepts → Overview.

Wrapped endpoints are tiered by observed failure rate:

  • RELIABLE — < 1%
  • ELEVATED — 1–5%
  • HIGH_RISK — > 5%

Tier informs the public reliability index but does not affect refund coverage; every wrapped endpoint is covered.

Terminal window
curl -sS https://api.pactnetwork.io/api/v1/providers

Two paths:

  1. Agent dev — apply for the private beta via the form at pactnetwork.io. We reply within 24 hours and, on approval, issue a pact_beta_… Bearer key plus the endpoint identifiers you need. See Private beta.
  2. Upstream operator — contact us. We evaluate failure modes, set a premium rate, register the EndpointConfig on-chain, and route traffic through the gateway.