{
  "openapi": "3.0.1",
  "info": {
    "title": "Earth911 Recycling Locator Scraper",
    "description": "Find recycling centers, drop-off locations, and curbside/retail/mail-in recycling programs near any US ZIP code or city for 381 material types, sourced from Earth911's nationwide recycling locator.",
    "version": "1.0",
    "x-build-id": "TxCy2BuWeFY3r5JZZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~earth911-recycling-locator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-earth911-recycling-locator-scraper",
        "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/crawlerbros~earth911-recycling-locator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-earth911-recycling-locator-scraper",
        "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/crawlerbros~earth911-recycling-locator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-earth911-recycling-locator-scraper",
        "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",
        "required": [
          "material",
          "location"
        ],
        "properties": {
          "material": {
            "title": "Material to recycle",
            "enum": [
              "#1 Plastic Bags",
              "#1 Plastic Beverage Bottles",
              "#1 Plastic Clamshells",
              "#1 Plastic Film",
              "#1 Plastic Non-Beverage Bottles",
              "#1 Plastic Trays",
              "#1 Rigid Plastics",
              "#2 Plastic Bags",
              "#2 Plastic Bottles",
              "#2 Plastic Caps",
              "#2 Plastic Clamshells",
              "#2 Plastic Film",
              "#2 Plastic Jugs - Clear",
              "#2 Plastic Jugs - Colored",
              "#2 Rigid Plastics",
              "#3 Plastic Bags",
              "#3 Plastic Bottles",
              "#3 Plastic Film",
              "#3 Rigid Plastics",
              "#4 Flexible Plastics",
              "#4 Plastic Bags",
              "#4 Plastic Bottles",
              "#4 Plastic Film",
              "#4 Rigid Plastics",
              "#5 Plastic Bags",
              "#5 Plastic Bottles",
              "#5 Plastic Caps",
              "#5 Plastic Clamshells",
              "#5 Plastic Cups",
              "#5 Plastic Film",
              "#5 Rigid Plastics",
              "#6 Plastic - Expanded",
              "#6 Plastic Bags",
              "#6 Plastic Bottles",
              "#6 Plastic Clamshells - Expanded",
              "#6 Plastic Cups",
              "#6 Plastic Cups - Expanded",
              "#6 Plastic Film",
              "#6 Plastic Peanuts",
              "#6 Rigid Plastics",
              "#7 Plastic Bags",
              "#7 Plastic Bottles",
              "#7 Plastic Film",
              "#7 Rigid Plastics",
              "Acids",
              "Acrylics",
              "Adhesives",
              "Adult Toys",
              "Aerosol Cans - Full",
              "Air Conditioners",
              "Alkaline Batteries",
              "Aluminum Beverage Cans",
              "Aluminum Foil",
              "Aluminum Food Cans",
              "Aluminum Pie Plates",
              "Aluminum Trays",
              "Ammunition",
              "Antifreeze",
              "Arcade Cabinet",
              "Arts and Crafts Supplies",
              "Asbestos",
              "Asphalt",
              "Audio Equipment",
              "Auto Bodies",
              "Auto Parts",
              "Automotive",
              "Baby Products",
              "Barbeque Grills",
              "Batteries",
              "Battery Chargers",
              "Bear Spray",
              "Bicycles",
              "Bike Tires",
              "Binders",
              "Blenders",
              "Blu-Ray Players",
              "Blue Glass Beverage Containers",
              "Blue Glass Containers",
              "Boomboxes",
              "Box Spring",
              "Brake Fluid",
              "Branches",
              "Brick",
              "Brown Glass Beverage Containers",
              "Brown Glass Containers",
              "Brush",
              "Button Cell Batteries",
              "CD Cases",
              "CD Players",
              "CDs",
              "CFLs",
              "CRT Computer Monitors",
              "CRT Televisions",
              "Cables",
              "Calculators",
              "Candy Wrappers",
              "Car Batteries",
              "Car Fluids",
              "Carpet",
              "Carpet Padding",
              "Cassette Players",
              "Cassette Tapes",
              "Ceiling Tiles",
              "Cell Phone Accessories",
              "Cell Phones",
              "Ceramic Makeup Container",
              "Ceramic Tile",
              "Chemistry Sets",
              "Chip Bags",
              "Christmas Trees",
              "Cigarettes",
              "Clear Glass Beverage Containers",
              "Clear Glass Containers",
              "Clothing",
              "Coffee Maker",
              "Colored Pencils",
              "Compacts",
              "Compostable Plastics",
              "Computer Peripherals - External",
              "Computer Peripherals - Internal",
              "Concrete",
              "Construction",
              "Construction Debris",
              "Construction Materials",
              "Contaminated Soil",
              "Contaminated Wood",
              "Controlled Substances",
              "Cooking Oil",
              "Cookware",
              "Corks",
              "Corrugated Cardboard",
              "Cosmetic Liner Pencil",
              "Crayons",
              "Curling Irons",
              "DVD Players",
              "DVDs",
              "Dehumidifiers",
              "Dental Floss Container",
              "Desktop Computers",
              "Digital Cameras",
              "Dirt",
              "Doors",
              "Drink Boxes",
              "Drink Pouches",
              "Electronic Servers",
              "Electronics",
              "Engine Degreasers",
              "Envelopes",
              "Exit Signs",
              "Explosives",
              "Eyeglasses",
              "Fabric",
              "Ferrous Metals",
              "Fertilizers",
              "Fiberglass",
              "Fire Extinguishers",
              "Flip-Flops",
              "Floppy Disks",
              "Fluorescent Tubes",
              "Freezers",
              "Fungicides",
              "GPS Systems",
              "Game Consoles",
              "Garden",
              "Garden Tools",
              "Gas Cylinders",
              "Gas/Oil Mixture",
              "Gasoline",
              "Gift Bags",
              "Glass",
              "Glue Sticks",
              "Grass Clippings",
              "Green Glass Beverage Containers",
              "Green Glass Containers",
              "Grid Suspension",
              "Gypsum Drywall",
              "HHW",
              "Hair",
              "Hair Dye",
              "Hair Spray",
              "Halogen Bulbs",
              "Hand Sanitizer",
              "Hard Drives",
              "Hardware",
              "Hay",
              "Heaters",
              "Herbicides",
              "Holiday Greens",
              "Home Electronics",
              "Household Cleaners",
              "Household Furniture",
              "Hoverboards",
              "Humidifiers",
              "Hydraulic Fluid",
              "Incandescent Lightbulbs",
              "Inkjet Cartridges",
              "Innertubes",
              "Insecticides",
              "Items Containing Mercury",
              "Kerosene",
              "LCD Computer Monitors",
              "LCD Televisions",
              "Lacquer",
              "Laptop Computers",
              "Latex Foam Pillows",
              "Latex Paint",
              "Lead Paint Chips",
              "Lead-acid Batteries - Non-automotive",
              "Leaves",
              "Lice Shampoo",
              "Light Fixtures",
              "Lighter Fluid",
              "Lighters",
              "Lighting Ballasts",
              "Linens",
              "Linoleum",
              "Lip gloss tube",
              "Lipstick tube",
              "Lithium Batteries",
              "Lithium-ion Batteries",
              "Lumber",
              "MP3 Players",
              "Magazines",
              "Makeup palettes",
              "Mannequins",
              "Manure",
              "Marine Batteries",
              "Mascara Tubes and Wands",
              "Mattress Topper",
              "Mattresses",
              "Medical Equipment - Handheld",
              "Medical Equipment - Large",
              "Medical Sharps",
              "Medication Containers",
              "Medications",
              "Mercury Thermostats",
              "Metal Clothes Hangers",
              "Metal Paint Cans",
              "Metal Tags",
              "Metals",
              "Microwaves",
              "Mixed Paper",
              "Motor Oil",
              "Motor Oil Containers",
              "Multi-wall Paper Bags",
              "Music Greeting Cards",
              "Musical Instruments - Metal",
              "Musical Instruments - Non-metal",
              "Nail Polish",
              "Nail Polish Removers",
              "Neon Lights",
              "Newspaper",
              "Nickel-cadmium Batteries",
              "Nickel-metal Hydride Batteries",
              "Nickel-zinc Batteries",
              "Non-Organic Food Waste",
              "Nonferrous Metals",
              "Office Furniture",
              "Office Machines",
              "Office Paper",
              "Office Supplies",
              "Oil Filters",
              "Oil-Based Paint",
              "Organic Food Waste",
              "Ornaments",
              "Pagers",
              "Paint",
              "Paint Strippers",
              "Paint Thinners",
              "Pallets",
              "Paper",
              "Paper Cups",
              "Paper Labels",
              "Paper Shredders",
              "Paper Sleeves",
              "Paperback Books",
              "Paperboard",
              "Pepper Spray",
              "Perfumes",
              "Pesticide Containers",
              "Pesticides",
              "Phone Books",
              "Photographic Chemicals",
              "Pipettes",
              "Pizza Boxes",
              "Plastic",
              "Plastic Bottle Accessories",
              "Plastic Buckets",
              "Plastic Cards",
              "Plastic Egg Cartons",
              "Plastic Furniture",
              "Plastic Packing Materials",
              "Plastic Paint Cans",
              "Plastic Plant Materials",
              "Plastic Playsets",
              "Pool Chemicals",
              "Porcelain Makeup Container",
              "Porcelain Products",
              "Power Steering Fluid",
              "Power Tools",
              "Printers",
              "Projectors",
              "Propane Tanks",
              "Radiators",
              "Receivers",
              "Record Players",
              "Refrigerators",
              "Road Flares",
              "Roofing Materials",
              "Sachet",
              "Sand",
              "Sawdust",
              "Scanners",
              "Sealers",
              "Shingles",
              "Shoes",
              "Silicone containers",
              "Silver-oxide Batteries",
              "Six-pack Rings",
              "Small Appliances",
              "Smartphones",
              "Smartwatches",
              "Smoke Detectors",
              "Solar Panels",
              "Solvents",
              "Sporting Goods",
              "Squeezable tubes - Aluminum",
              "Squeezable tubes - Plastic",
              "Steel Cans",
              "Steel Lids",
              "Stone",
              "String Lights",
              "Stumps",
              "Surfboards",
              "Synthetic Cork",
              "Tablets",
              "Telephones",
              "Television",
              "Television Accessories",
              "Tennis Balls",
              "Tile",
              "Tires",
              "Toasters",
              "Toner Cartridges",
              "Tools",
              "Toothbrushes",
              "Toothpaste Tubes",
              "Toothpaste tube",
              "Toys",
              "Transmission Fluid",
              "Trophies",
              "Truck Tires",
              "Two-Way Radios",
              "Typewriters",
              "Tyvek Envelopes",
              "VCRs",
              "Vacuum Cleaners",
              "Vape Pens",
              "Varnish",
              "Vehicles",
              "Video Game Cartridges",
              "Video Game Peripherals",
              "Video Tapes",
              "Vinyl Records",
              "Washer/Dryers",
              "Water Filters",
              "Weeds",
              "Wet-strength Paperboard",
              "Windows",
              "Wood",
              "Wood Chips",
              "Wood Furnishings",
              "Wood Stains",
              "X-rays",
              "Yard Waste",
              "Yoga Mats",
              "Zinc-air Batteries",
              "Zinc-carbon Batteries",
              "Zipper binder"
            ],
            "type": "string",
            "description": "The material/item you want to recycle. Full taxonomy extracted from Earth911's own quicksearch categories, plus the broad category names themselves that return real results (Automotive, Batteries, Construction, Electronics, Garden, Glass, Metals, Paint, Paper, Plastic).",
            "default": "Electronics"
          },
          "location": {
            "title": "ZIP code or city",
            "type": "string",
            "description": "US ZIP code, or `City, ST`, to search near.",
            "default": "90210"
          },
          "radiusMiles": {
            "title": "Search radius (miles)",
            "enum": [
              "5",
              "10",
              "25",
              "50",
              "100"
            ],
            "type": "string",
            "description": "How far from `location` to search. (Apify schema requires string type for select-editor enums.)",
            "default": "25"
          },
          "resultType": {
            "title": "Result type",
            "enum": [
              "all",
              "locations",
              "programs",
              "mailin"
            ],
            "type": "string",
            "description": "Restrict to drop-off locations, ongoing programs (curbside/retail take-back/mail-in), mail-in programs only, or all.",
            "default": "all"
          },
          "maxDistanceMiles": {
            "title": "Max distance filter (miles)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Client-side filter: drop results farther than this from `location`. Leave blank to use the full radius. Only applies to drop-off locations (programs have no distance)."
          },
          "minMaterialsAccepted": {
            "title": "Min materials accepted",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Drop results that accept fewer than this many total materials."
          },
          "fetchDetails": {
            "title": "Fetch full details (slower)",
            "type": "boolean",
            "description": "For each result, fetch its detail page for hours, website, exact coordinates, last-verified date, and the FULL (untruncated) materials-accepted list. Roughly doubles request count and run time.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}