{
  "openapi": "3.0.1",
  "info": {
    "title": "x402 Bazaar Scraper & Monitor – Coinbase Agent API Catalog",
    "description": "Scrape and monitor the x402 Bazaar, Coinbase's catalog of pay-per-call APIs for AI agents: search, full catalog export, host rankings and daily new / changed / removed listing alerts. Price in USD, networks, payTo, 30-day calls and payers.",
    "version": "1.0",
    "x-build-id": "KY7ndHzLGhiM0HfyZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/benelux-signals~x402-bazaar-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-benelux-signals-x402-bazaar-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/benelux-signals~x402-bazaar-monitor/runs": {
      "post": {
        "operationId": "runs-sync-benelux-signals-x402-bazaar-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/benelux-signals~x402-bazaar-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-benelux-signals-x402-bazaar-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "catalog",
              "hosts"
            ],
            "type": "string",
            "description": "<b>search</b>: the Bazaar's own relevance search, max 20 results per query. <b>catalog</b>: page through the full catalog (~77,000 listings) and filter. <b>hosts</b>: aggregate the full catalog per host (endpoints, calls, payers, prices).",
            "default": "search"
          },
          "query": {
            "title": "Search query (search mode)",
            "type": "string",
            "description": "Natural-language query, e.g. \"weather forecast\", \"token price\", \"web scraping\". Used in search mode only."
          },
          "keywords": {
            "title": "Keywords (catalog / hosts mode)",
            "type": "array",
            "description": "Keep listings whose name, description, URL or tags contain any of these words (case-insensitive substring). Leave empty for everything.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "networks": {
            "title": "Networks",
            "type": "array",
            "description": "Only listings that accept payment on one of these networks. Use names (base, base-sepolia, polygon, solana, arbitrum, optimism, avalanche, bsc, sei) or CAIP-2 ids like eip155:8453.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxUsdPrice": {
            "title": "Maximum price per call (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Only listings whose cheapest price per call is at or below this amount, e.g. 0.01. Leave empty for no limit."
          },
          "urlContains": {
            "title": "URL contains",
            "type": "string",
            "description": "Only listings whose endpoint URL contains this text (min. 3 characters), e.g. a domain."
          },
          "tags": {
            "title": "Provider tags",
            "type": "array",
            "description": "Only listings carrying at least one of these provider tags (exact, case-sensitive), e.g. weather, crypto, search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minCalls30d": {
            "title": "Minimum paid calls (last 30 days)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip listings with fewer paid calls in the last 30 days. 1 = only listings that were actually used.",
            "default": 0
          },
          "excludeTestnets": {
            "title": "Exclude testnet-only listings",
            "type": "boolean",
            "description": "Skip listings that only accept testnet payments (e.g. Base Sepolia, Solana devnet).",
            "default": true
          },
          "sortBy": {
            "title": "Sort by (catalog / hosts)",
            "enum": [
              "calls",
              "price",
              "updated",
              "none"
            ],
            "type": "string",
            "description": "Sort order. Any order except 'Catalog order' scans the full catalog first.",
            "default": "calls"
          },
          "monitorChanges": {
            "title": "Monitor changes (catalog mode)",
            "type": "boolean",
            "description": "Compare with the previous run (same state key) and return only <b>new</b>, <b>changed</b>, <b>price_changed</b> and <b>removed</b> listings. The first run saves a baseline and returns no billable rows. Schedule it daily for alerts.",
            "default": false
          },
          "includeRemoved": {
            "title": "Include removed listings",
            "type": "boolean",
            "description": "In monitor mode, also output listings that disappeared (missing in two consecutive scans).",
            "default": true
          },
          "stateKey": {
            "title": "Monitor state key",
            "type": "string",
            "description": "Name of the saved snapshot. Use a different key per monitor (letters, digits, - and _).",
            "default": "default"
          },
          "includeSchemas": {
            "title": "Include request/response examples",
            "type": "boolean",
            "description": "Add the input example, output example and raw payment requirements (accepts) to each row. Makes rows much bigger.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum number of rows saved (and charged).",
            "default": 200
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}