> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x402layer.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Browse marketplace

> Lists public endpoints, products, and agentic listings with optional filters.



## OpenAPI

````yaml GET /api/marketplace
openapi: 3.1.0
info:
  title: x402 Singularity Layer API
  description: >-
    OpenAPI-backed reference for marketplace discovery, payment routes,
    webhooks, wallet-first auth, agent endpoints, and ERC-8004 flows.
  version: 1.0.0
servers:
  - url: https://api.x402layer.cc
security: []
tags:
  - name: Marketplace
    description: Public discovery and listing lookup
  - name: Public Endpoints
    description: Public endpoint metadata and hosted checkout context
  - name: Public Payment Links
    description: Hosted public payment-link lookup
  - name: Payments
    description: Hosted x402 payment challenge routes
  - name: Receipts
    description: Signed receipt lookup and verification helpers
  - name: Ratings
    description: Public listing ratings and authenticated rating actions
  - name: Webhooks
    description: Seller webhook management API
  - name: Agent Auth
    description: Wallet-first challenge and verification routes
  - name: Agent Endpoints
    description: Create, read, top up, and delete agent endpoints
  - name: ERC-8004
    description: Agent registry and registration lifecycle routes
  - name: Marketplace Agents
    description: Public ERC-8004 marketplace discovery routes
  - name: Compute Catalog
    description: Compute plans, regions, and OS catalog
  - name: Compute Instances
    description: Provision, inspect, extend, and destroy compute instances
  - name: Compute API Keys
    description: API keys for compute agent access
  - name: Fundraiser Campaigns
    description: List, view, create, and edit fundraiser campaigns
  - name: Fundraiser Contributions
    description: Record and list campaign contributions
  - name: Fundraiser Comments
    description: Campaign comment threads
  - name: Fundraiser Media
    description: Campaign image uploads and OG images
  - name: Enterprise
    description: >-
      Enterprise partner configuration, endpoint listing, revenue stats, and
      transaction ledger
  - name: Staking
    description: Agentic $SGL staking
  - name: SGL Grid
    description: >-
      Decentralized, confidential, OpenAI-compatible inference served by
      attested TEE nodes.
  - name: Compute Credits
    description: Prepaid USDC credit balance shared across Machines and Grid.
paths:
  /api/marketplace:
    get:
      tags:
        - Marketplace
      summary: Browse marketplace listings
      description: >-
        Lists public endpoints, products, and agentic listings with optional
        filters.
      parameters:
        - name: type
          in: query
          schema:
            type: string
            enum:
              - endpoint
              - agentic
              - product
              - all
        - name: chain
          in: query
          schema:
            type: string
            enum:
              - base
              - solana
        - name: mode
          in: query
          schema:
            type: string
            enum:
              - direct
              - credits
        - name: category
          in: query
          schema:
            type: string
        - name: search
          in: query
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: Marketplace listings
          content:
            application/json:
              schema:
                type: object
                properties:
                  listings:
                    type: array
                    items:
                      $ref: '#/components/schemas/Listing'
                  total:
                    type: integer
                  limit:
                    type: integer
                  offset:
                    type: integer
                  hasMore:
                    type: boolean
components:
  schemas:
    Listing:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        slug:
          type: string
        description:
          type: string
        type:
          type: string
        mode:
          type: string
        price:
          type: number
        currency:
          type: string
        chain:
          type: string
        api_schema:
          $ref: '#/components/schemas/ApiSchema'
          description: >-
            Optional API schema describing available routes, parameters, and
            request bodies
    ApiSchema:
      type: object
      description: >-
        Describes the routes, parameters, and request bodies an endpoint
        accepts. Attached to endpoints during creation and returned in 402
        challenges, marketplace listings, and public endpoint metadata.
      properties:
        version:
          type: integer
          enum:
            - 1
        baseUrl:
          type: string
          format: uri
          description: Optional base URL override for the API
        routes:
          type: array
          items:
            $ref: '#/components/schemas/ApiSchemaRoute'
    ApiSchemaRoute:
      type: object
      description: >-
        A single API route with its method, path, parameters, and optional
        request body
      properties:
        path:
          type: string
          example: /users/{id}
          description: Route path with optional path parameters in curly braces
        method:
          type: string
          enum:
            - GET
            - POST
            - PUT
            - PATCH
            - DELETE
        summary:
          type: string
          description: Human-readable name shown to consumers on the payment page
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/ApiSchemaParam'
        requestBody:
          $ref: '#/components/schemas/ApiSchemaBody'
        responseExample:
          type: string
          description: Example response JSON string
    ApiSchemaParam:
      type: object
      properties:
        name:
          type: string
          description: Parameter identifier
        in:
          type: string
          enum:
            - query
            - path
            - header
        type:
          type: string
          enum:
            - string
            - number
            - boolean
            - array
            - object
        required:
          type: boolean
        description:
          type: string
          description: Human-readable label shown to consumers
        example:
          type: string
          description: Placeholder text shown in the input field
    ApiSchemaBody:
      type: object
      properties:
        contentType:
          type: string
          enum:
            - application/json
            - multipart/form-data
            - text/plain
        fields:
          type: array
          items:
            $ref: '#/components/schemas/ApiSchemaParam'
        example:
          type: string
          description: Default body content shown as placeholder

````