{
  "openapi": "3.0.1",
  "info": {
    "title": "RecycleInMe Scraper - Scrap Metal Buyers, Sellers & Offers",
    "description": "RecycleInMe scraper for scrap metal, plastic and paper trade leads. One result = one sell offer, buy offer or company: material, quantity, port, packing, company, e-mail, phone, website, verified flag. Search by keyword and country. No login. $1.50 per 1,000.",
    "version": "1.0",
    "x-build-id": "XyY3S0rV56lMnaeHI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~recycleinme-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-recycleinme-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/rel8ble~recycleinme-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-recycleinme-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/rel8ble~recycleinme-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-recycleinme-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",
        "properties": {
          "listingTypes": {
            "title": "What to scrape",
            "uniqueItems": true,
            "type": "array",
            "description": "One or more of: sellOffers (scrap for sale), buyOffers (scrap wanted), suppliers (supplier / exporter directory), buyers (buyer / importer directory). Default [\"sellOffers\"].",
            "items": {
              "type": "string",
              "enum": [
                "sellOffers",
                "buyOffers",
                "suppliers",
                "buyers"
              ],
              "enumTitles": [
                "Sell offers (scrap for sale)",
                "Buy offers (scrap wanted)",
                "Suppliers / exporters directory",
                "Buyers / importers directory"
              ]
            },
            "default": [
              "sellOffers"
            ]
          },
          "searchTerms": {
            "title": "Search keywords",
            "type": "array",
            "description": "Optional. Material keywords, one search each, e.g. \"copper\", \"aluminium ubc\", \"hms 1&2\", \"pet bottles\", \"occ\", \"lead battery\". Empty = every listing. Default [\"copper\"] (demo).",
            "default": [
              "copper"
            ],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Optional. Country names as RecycleInMe writes them, e.g. \"India\", \"United States\", \"United Arab Emirates\", \"United Kingdom\". Each keyword is searched in each country. Empty = all countries.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "RecycleInMe list URLs",
            "type": "array",
            "description": "Optional. Any recycleinme.com list page with its filters, e.g. https://www.recycleinme.com/scrap-sell-offer/Aluminium?cat=General&subcategory=Aluminium or https://www.recycleinme.com/scrap-buyers/India?country=India.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Rows saved per keyword / country / URL, integer >= 0. Default 20; 0 = every matching listing. You pay per row.",
            "default": 20
          },
          "uniqueCompanies": {
            "title": "One row per company",
            "type": "boolean",
            "description": "Optional. Keep only the first offer of each company per search (good for lead lists). Default false.",
            "default": false
          },
          "withEmailOnly": {
            "title": "Only with an e-mail",
            "type": "boolean",
            "description": "Optional. Skip rows without a published e-mail. Default false.",
            "default": false
          },
          "withPhoneOnly": {
            "title": "Only with a phone",
            "type": "boolean",
            "description": "Optional. Skip rows without a phone or mobile number. Default false.",
            "default": false
          },
          "withWebsiteOnly": {
            "title": "Only with a website",
            "type": "boolean",
            "description": "Optional. Skip rows without a website (only directory rows carry websites). Default false.",
            "default": false
          },
          "verifiedOnly": {
            "title": "Only verified companies",
            "type": "boolean",
            "description": "Optional. Keep only RecycleInMe-verified companies. Default false.",
            "default": false
          },
          "hotOffersOnly": {
            "title": "Only Hot Offers",
            "type": "boolean",
            "description": "Optional. For offers: keep only offers marked Hot Offer. Default false.",
            "default": false
          },
          "companyTypes": {
            "title": "Company types",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Keep only these company types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Mills",
                "Trading",
                "Recycling",
                "Scrap Yard"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Optional, advanced. Parallel searches, 1-10. Default 4.",
            "default": 4
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Retries per failed request (each on a new proxy session), 0-20. Default 6.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, advanced. Default Apify Proxy (datacenter), which works for RecycleInMe. Switch to {\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"]} only if the log shows repeated blocks.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}