{
  "openapi": "3.0.1",
  "info": {
    "title": "EPA Motorcycle, ATV, UTV & Marine Engine Certificates",
    "description": "Search & export 16,000+ EPA certificates for motorcycles, scooters, dirt bikes, ATVs, UTVs, e-motorcycles, snowmobiles and marine outboard/PWC engines. Look up by model, engine family or certificate no.; filter by maker, origin country, year, cc. Monitor new certificates.",
    "version": "0.1",
    "x-build-id": "AzN7Ykg7rtCABPVYx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/prudent_businessman~epa-powersports-engine-certification/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-prudent_businessman-epa-powersports-engine-certification",
        "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/prudent_businessman~epa-powersports-engine-certification/runs": {
      "post": {
        "operationId": "runs-sync-prudent_businessman-epa-powersports-engine-certification",
        "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/prudent_businessman~epa-powersports-engine-certification/run-sync": {
      "post": {
        "operationId": "run-sync-prudent_businessman-epa-powersports-engine-certification",
        "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": {
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Which EPA certification lists to search. Leave empty for all five.",
            "items": {
              "type": "string",
              "enum": [
                "highway_motorcycle",
                "offroad_motorcycle_atv_utv",
                "electric_motorcycle",
                "snowmobile",
                "marine_spark_ignition"
              ],
              "enumTitles": [
                "On-highway motorcycles & scooters",
                "Off-road motorcycles, ATVs, UTVs, go-karts",
                "Electric motorcycles",
                "Snowmobiles",
                "Marine SI engines (outboards, sterndrives, PWC, jet boats)"
              ]
            }
          },
          "models": {
            "title": "Model names (lookup)",
            "type": "array",
            "description": "Check whether a model appears on an EPA certificate's 'Models Certified' list. Exact match ignores case, spaces and dashes (e.g. 'Alterra 300'). Use * as wildcard (e.g. '*TRX*'). Unmatched exact names are returned as 'not found' rows.",
            "items": {
              "type": "string"
            }
          },
          "engine_families": {
            "title": "Engine family / certificate numbers",
            "type": "array",
            "description": "Exact EPA engine family names (as printed on the emission label, e.g. V3AXX.2712KM) or certificate numbers.",
            "items": {
              "type": "string"
            }
          },
          "manufacturers": {
            "title": "Manufacturers (contains)",
            "type": "array",
            "description": "Matches the certificate holder, engine OEM or vehicle OEM name (partial, case-insensitive), e.g. 'Honda', 'Kwang Yang', 'Segway'.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Country of origin (contains)",
            "type": "array",
            "description": "Engine/vehicle OEM country, e.g. 'China', 'Taiwan', 'Japan'.",
            "items": {
              "type": "string"
            }
          },
          "vehicle_classes": {
            "title": "Vehicle class / service class (contains)",
            "type": "array",
            "description": "Filter by EPA category text, e.g. 'ATV', 'Utility', 'Class III', 'Outboard', 'Personal Watercraft'.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Free-text match across manufacturer, models, engine family, class and fuel.",
            "items": {
              "type": "string"
            }
          },
          "model_year_from": {
            "title": "Model year from",
            "minimum": 2000,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest model year (lists start 2006, 2011 or 2015)."
          },
          "model_year_to": {
            "title": "Model year to",
            "minimum": 2000,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest model year."
          },
          "min_displacement": {
            "title": "Min displacement",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum engine displacement (cc for motorcycles/ATVs/snowmobiles, litres for marine)."
          },
          "max_displacement": {
            "title": "Max displacement",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum engine displacement."
          },
          "include_details": {
            "title": "Include all EPA columns",
            "type": "boolean",
            "description": "Add a 'details' object with every column of the EPA file (emission levels, fuel system, catalyst, test vehicles...).",
            "default": true
          },
          "output_not_found": {
            "title": "Output 'not found' rows",
            "type": "boolean",
            "description": "For exact model lookups, return a row for each model with no EPA certificate.",
            "default": true
          },
          "only_new": {
            "title": "Monitor mode: only new certificates",
            "type": "boolean",
            "description": "Return only certificates not seen in the previous run (first run saves a baseline). Schedule daily/weekly.",
            "default": false
          },
          "report_removed": {
            "title": "Also report removed",
            "type": "boolean",
            "description": "In monitor mode, also output certificates that disappeared.",
            "default": true
          },
          "state_store_name": {
            "title": "Monitor state store",
            "type": "string",
            "description": "Named key-value store that keeps the monitor baseline. Use a different name per saved filter set.",
            "default": "epa-powersports-cert-state"
          },
          "max_items": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum records to output (0 = no limit). You pay per record.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}