{
  "openapi": "3.0.1",
  "info": {
    "title": "Verra VCS Carbon Credit Registry Scraper & API",
    "description": "Extract Verra VCS carbon credit projects, VCU issuances, and corporate offset retirements from the Verra Registry as clean JSON, CSV, or via MCP.",
    "version": "0.1",
    "x-build-id": "eWdX5mTdcda1SR7AD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zertax~verra-carbon-registry-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zertax-verra-carbon-registry-mcp",
        "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/zertax~verra-carbon-registry-mcp/runs": {
      "post": {
        "operationId": "runs-sync-zertax-verra-carbon-registry-mcp",
        "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/zertax~verra-carbon-registry-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-zertax-verra-carbon-registry-mcp",
        "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": {
          "dataset": {
            "title": "Dataset",
            "enum": [
              "projects",
              "issuances",
              "retirements",
              "holdings",
              "cancellations"
            ],
            "type": "string",
            "description": "Which public Verra Registry dataset to query: projects, issuances, retirements, holdings, or cancellations.",
            "default": "projects"
          },
          "program": {
            "title": "Verra Program / Standard",
            "enum": [
              "VCS",
              "JNR",
              "SDVISTA",
              "CCBS",
              "PWRS",
              "S3S"
            ],
            "type": "string",
            "description": "Target Verra standard: VCS (Verified Carbon Standard), JNR (Jurisdictional REDD+), SDVISTA, CCBS, PWRS (Plastic Waste Reduction), or S3S (Scope 3).",
            "default": "VCS"
          },
          "query": {
            "title": "Project Name Search",
            "type": "string",
            "description": "Optional case-insensitive substring filter on project name (e.g., 'Amazon', 'REDD+', 'Methane', 'Biochar')."
          },
          "projectId": {
            "title": "Project ID (Exact)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional exact Verra numeric project ID (e.g., 1775 or 3281). Fast lookup for a single project or all its issuances/retirements."
          },
          "country": {
            "title": "Host Country",
            "type": "string",
            "description": "Optional case-insensitive substring filter on host country name (e.g., 'Brazil', 'United States', 'Canada', 'India', 'Zambia')."
          },
          "methodology": {
            "title": "Methodology Code",
            "type": "string",
            "description": "Optional case-insensitive substring filter on methodology code (e.g., 'VM0007', 'VM0009', 'VM0042', 'ACM0014')."
          },
          "sectoralScope": {
            "title": "Sectoral Scope",
            "type": "string",
            "description": "Optional substring filter on sectoral scope (e.g., 'Agriculture Forestry', 'Energy industries', 'Waste handling')."
          },
          "status": {
            "title": "Status",
            "type": "string",
            "description": "Optional substring filter on project or credit status (e.g., 'Registered', 'Under validation', 'Issued', 'Retired')."
          },
          "vintage": {
            "title": "Exact Vintage Year (Credit Datasets Only)",
            "type": "string",
            "description": "Optional exact vintage year (e.g., '2022') when querying issuances, retirements, holdings, or cancellations."
          },
          "vintageMin": {
            "title": "Minimum Vintage Year (Credit Datasets Only)",
            "minimum": 1990,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional server-side lower bound on credit vintage year (e.g., 2021) for issuances, retirements, holdings, or cancellations."
          },
          "vintageMax": {
            "title": "Maximum Vintage Year (Credit Datasets Only)",
            "minimum": 1990,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional server-side upper bound on credit vintage year (e.g., 2025) for issuances, retirements, holdings, or cancellations."
          },
          "dateFrom": {
            "title": "Event Start Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional incremental lower bound on event_date (retiredDate, issueDate, cancellation_date, or registration_date). On date-sorted credit datasets, pagination stops early once dates fall below dateFrom — zero charge for skipped records."
          },
          "dateTo": {
            "title": "Event End Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional upper bound on event_date (inclusive, YYYY-MM-DD). Out-of-window rows are skipped and not billed."
          },
          "beneficialOwner": {
            "title": "Beneficial Owner / Retiring Entity (Retirements Only)",
            "type": "string",
            "description": "Optional case-insensitive substring filter on public beneficial owner name when querying retirements (e.g., 'Microsoft', 'Shell', 'Delta')."
          },
          "sortDir": {
            "title": "Sort Direction",
            "enum": [
              "DESC",
              "ASC"
            ],
            "type": "string",
            "description": "Sort direction for results (DESC puts newest retirements/issuances and highest project IDs first).",
            "default": "DESC"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Maximum number of normalized records to extract and bill per run (default 25 keeps AI agent/MCP lookups under 5 seconds; raise up to 25000 for bulk extracts).",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}