---
title: "Search x402 resources"
method: GET
path: "/v2/x402/discovery/search"
tags: ["x402 Facilitator"]
---

# Search x402 resources

`GET /v2/x402/discovery/search`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/x402/discovery/search`
- Auth: HTTP none

Searches for active x402 resources using a text query and optional filters.
Supports both text-based and vector-based search depending on availability. Results are sorted by relevance and quality score.
Legacy network names (e.g., `base`, `base-sepolia`, `solana`) are automatically normalized to their CAIP-2 equivalents.
The response is limited to 20 items per request. If more results exist, `partialResults` will be `true`.

## Query parameters

- `query` string
- `network` string
- `asset` string
- `scheme` string
- `payTo` string: A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).
- `urlSubstring` string
- `maxUsdPrice` string
- `extensions` string[]
- `tags` string[]
- `bundleSlugs` string[]
- `curatedOnly` boolean
- `limit` integer

## Response `200`

Successfully retrieved matching x402 resources.

- X402SearchResourcesResponse: Response from a search for x402 resources.
  - `resources` X402DiscoveryResource[], required: List of x402 resources matching the search query and filters.
    - `resource` string, required: The URL of the resource.
    - `description` string: A human-readable description of the resource.
    - `type` 'http' | 'mcp', required: Communication protocol (e.g., "http", "mcp").
    - `x402Version` 1 | 2, required: The version of the x402 protocol.
    - `lastUpdated` string, date-time: Timestamp of the last update.
    - `accepts` X402PaymentRequirements[]: Payment requirements accepted by the resource.
      - union: The x402 protocol payment requirements that the resource server expects the client's payment payload to meet.
        - intersection
          - [`X402V2PaymentRequirements`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2Fx402V2PaymentRequirements)
        - intersection
          - [`X402V1PaymentRequirements`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2Fx402V1PaymentRequirements)
    - `extensions` object: Map of x402 protocol extensions supported by the resource, keyed by extension name.
    - `quality` X402ResourceQuality: Quality metrics for a discovered x402 resource.
      - `l30DaysTotalCalls` integer: Total number of paid calls to a resource in the last 30 days.
      - `l30DaysUniquePayers` integer: Number of unique payers to a resource in the last 30 days.
      - `lastCalledAt` string, date-time: Timestamp of the most recent paid call to a resource.
    - `serviceName` string: Display name of the service this resource belongs to. This is a free-form label for grouping and presentation only — it is not a stable identifier, and two resources sharing the same `serviceName` are not guaranteed to belong to the same logical service.
    - `tags` string[]: Low-cardinality string labels associated with the resource for client-side filtering and display. Values are free-form (no controlled vocabulary) and case-sensitive. Order is not significant and duplicates are not expected.
    - `bundleSlugs` string[]: Slugs of the curated x402 bundles this resource belongs to. A bundle is an ordered, named grouping of curated resources covering a common agent workflow. Present only for Coinbase-curated resources (`curated: true`); omitted when the resource is not curated or is not a member of any bundle.
    - `iconUrl` string, uri: URL of a square icon representing the service this resource belongs to. Distinct from a brand logo: this is intended for compact, list-view rendering (favicon-style) and is normalized to a square aspect ratio at ingestion. The image is moderated and re-hosted by Coinbase, so the URL is stable and safe to render directly in clients. Omitted when the provider did not supply an icon, when the supplied icon failed moderation, or when image processing was unavailable at ingestion time.
    - `curated` boolean: Whether this resource is a Coinbase-curated endpoint. Curated endpoints have passed the partner-admission and verification bar and surface higher in search and listing results. Omitted (treated as `false`) when the resource is not curated.
    - `skillUrl` string, uri: URL of the SKILL.md document describing how to use this resource. Omitted when the resource has no associated skill document.
  - `partialResults` boolean, required: Indicates whether the result set was truncated because there were more results than the requested limit.
  - `searchMethod` 'text' | 'vector' | 'hybrid': The search method used to retrieve the results (e.g., "text", "vector", "hybrid").
  - `x402Version` 1 | 2, required: The version of the x402 protocol.

## Other responses

- `400`: Invalid request parameters.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 4 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `500`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `502`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `503`
- **2026-10-16** `ff3c1fdef902`: 5 warning
  - added the new `eip155:143` enum value to the `resources/items/accepts/items/oneOf[subschema #1: x402V2PaymentRequirements]/network/allOf[#/components/schemas/X402V2Network]/` response property for the response status `200`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `500`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `502`
  - …1 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/x402/discovery/search/get.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
