x402 Facilitator

Get an x402 bundle

Changed on

Gets a single curated x402 workflow bundle by its bundle slug, including the bundle metadata and its ordered member resources joined to their full discovery metadata.

get/v2/x402/discovery/bundles/{bundleSlug}

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP none

Path parameters

bundleSlug, string required
Example:defi-trading

The unique, URL-safe slug identifying the bundle (as returned by GET /v2/x402/discovery/bundles).

Response

Successfully retrieved the bundle and its member resources.

X402BundleResponse required

Response containing a single curated bundle's metadata and its ordered member resources. Members are the bundle's curated endpoints joined to their full discovery metadata, in bundle-defined order. Unlike x402 protocol discovery and search responses, bundle responses omit x402Version because bundles are CDP-curated metadata, not protocol negotiation payloads.

object
resources, X402DiscoveryResource[] required

The bundle's member resources in bundle-defined order. Each entry is the full discovery metadata for a curated endpoint belonging to this bundle. Bundle membership is capped at 50 resources.

Example response

{
  "resources": [
    {
      "resource": "https://api.example.com/prices",
      "description": "Real-time token prices.",
      "type": "http",
      "x402Version": 2,
      "curated": true,
      "skillUrl": "https://skills.cdp.coinbase.com/prices-api/SKILL.md"
    }
  ],
  "slug": "defi-trading",
  "name": "DeFi Trading",
  "description": "Endpoints for discovering prices, routing swaps, and settling trades onchain."
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    2 more changes in this revision