{
  "openapi": "3.0.1",
  "info": {
    "title": "Otodom Scraper: Poland Real Estate and Agencies",
    "description": "Otodom.pl flats, houses, plots, commercial and new developments for sale or rent in Poland by place, map area, link or ad id, every Otodom filter, no login. Each ad: price, price per m2, area, rooms, floor, street, district, agency. Add the full ad page or agency phone. JSON, CSV or API; pay per ad.",
    "version": "0.1",
    "x-build-id": "mWC0WTPj4wdhJr686"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~otodom-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-otodom-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/automation_craft~otodom-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-otodom-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/automation_craft~otodom-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-otodom-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": {
          "locations": {
            "title": "Places",
            "type": "array",
            "description": "Places in Poland as Otodom names them (\"Warszawa\", \"Kraków\", \"Mokotów, Warszawa\", \"Nowa Wieś, mazowieckie\"), Otodom location paths (\"malopolskie/krakow/krakow/krakow\", the part of a search link after the property type), or \"Poland\" for the whole country. A name is searched only when exactly one Otodom place has it; several or none is a free row listing the candidates. Each place is searched once per transaction and property type.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Otodom links",
            "type": "array",
            "description": "Links copied from otodom.pl: a search (/pl/wyniki/...; its filters, place and order are read), an ad (/pl/oferta/...), a new development (/pl/inwestycja/...), or an estate agency or developer page (/pl/firmy/...: its profile row and the ads its page shows). A search link keeps its own transaction and property type. A link with a parameter that is not a filter of Otodom's search form is refused, free, so a link never reads wider than its page.",
            "items": {
              "type": "string"
            }
          },
          "listingIds": {
            "title": "Ad ids",
            "type": "array",
            "description": "Otodom ad ids (68580849), ID codes (ID4DL0J, the end of an ad link) or ad links: each ad from its own page. A removed ad or an id Otodom does not hold is a free row. Search filters do not apply to ads looked up by id.",
            "items": {
              "type": "string"
            }
          },
          "drawnAreas": {
            "title": "Drawn areas",
            "type": "array",
            "description": "Areas you draw, as Otodom's map search does: each a list of [latitude, longitude] points in Poland (3 to 200; the last point joins the first). Example: [[[52.24, 20.99], [52.24, 21.03], [52.22, 21.03], [52.22, 20.99]]]."
          },
          "circles": {
            "title": "Circles",
            "type": "array",
            "description": "A point and a radius: each { \"latitude\": 50.06, \"longitude\": 19.94, \"radiusKm\": 2 } (0.1 to 100 km, in Poland), searched as a 32 sided polygon drawn around the circle, so ads in its thin corners just outside the circle can appear."
          },
          "transaction": {
            "title": "Transaction",
            "type": "array",
            "description": "For sale, for rent or both (default for sale). Applies to places, drawn areas and circles; a search link keeps its own.",
            "items": {
              "type": "string",
              "enum": [
                "sale",
                "rent"
              ],
              "enumTitles": [
                "For sale",
                "For rent"
              ]
            }
          },
          "propertyType": {
            "title": "Property type",
            "type": "array",
            "description": "Flats by default. Several types: each place is searched once per type. A type Otodom does not offer for a transaction (rooms for sale, developments for rent) is a free row.",
            "items": {
              "type": "string",
              "enum": [
                "flat",
                "studio",
                "house",
                "room",
                "plot",
                "commercial",
                "hall",
                "garage",
                "development"
              ],
              "enumTitles": [
                "Flats (mieszkania)",
                "Studio flats (kawalerki)",
                "Houses (domy)",
                "Rooms, rent only (pokoje)",
                "Plots and land (dzialki)",
                "Commercial premises (lokale)",
                "Halls and warehouses (hale i magazyny)",
                "Garages (garaze)",
                "New developments, sale only (inwestycje)"
              ]
            }
          },
          "priceMin": {
            "title": "Minimum price (PLN)",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "The asking price, or the monthly rent for rentals."
          },
          "priceMax": {
            "title": "Maximum price (PLN)",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "The asking price, or the monthly rent for rentals."
          },
          "areaMin": {
            "title": "Minimum area (m2)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Usable area; for plots the plot area."
          },
          "areaMax": {
            "title": "Maximum area (m2)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Usable area; for plots the plot area."
          },
          "pricePerM2Min": {
            "title": "Minimum price per m2 (PLN)",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Otodom's price per square metre."
          },
          "pricePerM2Max": {
            "title": "Maximum price per m2 (PLN)",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Otodom's price per square metre."
          },
          "rooms": {
            "title": "Rooms",
            "type": "array",
            "description": "Flats and houses for sale or rent, developments and commercial premises for sale.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6+"
              ],
              "enumTitles": [
                "1 room",
                "2 rooms",
                "3 rooms",
                "4 rooms",
                "5 rooms",
                "6 rooms or more"
              ]
            }
          },
          "market": {
            "title": "Market",
            "enum": [
              "any",
              "primary",
              "secondary"
            ],
            "type": "string",
            "description": "Primary (from a developer) or secondary (resale). Sale only."
          },
          "advertiserType": {
            "title": "Advertiser",
            "enum": [
              "any",
              "private",
              "agency",
              "developer"
            ],
            "type": "string",
            "description": "Private owners, estate agencies or developers. Rentals: private owners only (Otodom's own rentals filter)."
          },
          "buildYearMin": {
            "title": "Built from (year)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Flats and houses."
          },
          "buildYearMax": {
            "title": "Built until (year)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Flats and houses."
          },
          "floors": {
            "title": "Floor",
            "type": "array",
            "description": "The floor of the flat or premises.",
            "items": {
              "type": "string",
              "enum": [
                "CELLAR",
                "GROUND",
                "FIRST",
                "SECOND",
                "THIRD",
                "FOURTH",
                "FIFTH",
                "SIXTH",
                "SEVENTH",
                "EIGHTH",
                "NINTH",
                "TENTH",
                "ABOVE_TENTH",
                "GARRET"
              ],
              "enumTitles": [
                "Cellar",
                "Ground",
                "First",
                "Second",
                "Third",
                "Fourth",
                "Fifth",
                "Sixth",
                "Seventh",
                "Eighth",
                "Ninth",
                "Tenth",
                "Above tenth",
                "Garret"
              ]
            }
          },
          "buildingFloorsMin": {
            "title": "Building floors, minimum",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Floors in the building."
          },
          "buildingFloorsMax": {
            "title": "Building floors, maximum",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Floors in the building."
          },
          "buildingType": {
            "title": "Building type",
            "type": "array",
            "description": "Flats: block, tenement, house, infill, ribbon, apartment, loft. Houses: detached, semi detached, ribbon, tenement, residence, farm.",
            "items": {
              "type": "string",
              "enum": [
                "BLOCK",
                "TENEMENT",
                "HOUSE",
                "INFILL",
                "RIBBON",
                "APARTMENT",
                "LOFT",
                "OTHER",
                "DETACHED",
                "SEMI_DETACHED",
                "RESIDENCE",
                "FARM"
              ],
              "enumTitles": [
                "Block",
                "Tenement",
                "House",
                "Infill",
                "Ribbon",
                "Apartment",
                "Loft",
                "Other",
                "Detached",
                "Semi detached",
                "Residence",
                "Farm"
              ]
            }
          },
          "buildingMaterial": {
            "title": "Building material",
            "type": "array",
            "description": "Flats and houses for sale.",
            "items": {
              "type": "string",
              "enum": [
                "BRICK",
                "WOOD",
                "BREEZEBLOCK",
                "HYDROTON",
                "CONCRETE_PLATE",
                "CONCRETE",
                "SILIKAT",
                "CELLULAR_CONCRETE",
                "OTHER",
                "REINFORCED_CONCRETE"
              ],
              "enumTitles": [
                "Brick",
                "Wood",
                "Breezeblock",
                "Hydroton",
                "Concrete plate",
                "Concrete",
                "Silikat",
                "Cellular concrete",
                "Other",
                "Reinforced concrete"
              ]
            }
          },
          "extras": {
            "title": "Extras",
            "type": "array",
            "description": "Every ad delivered has all of these (Otodom's extras of the property type: balcony, terrace, garage, basement, lift, separate kitchen, garden, air conditioning and more).",
            "items": {
              "type": "string",
              "enum": [
                "BALCONY",
                "TERRACE",
                "GARAGE",
                "BASEMENT",
                "LIFT",
                "SEPARATE_KITCHEN",
                "GARDEN",
                "TWO_STOREY",
                "HAS_PHOTOS",
                "IS_PRIVATE_OWNER",
                "AIR_CONDITIONING",
                "INTERNET",
                "CABLE_TELEVISION",
                "NON_SMOKERS_ONLY",
                "USABLE_ROOM",
                "HAS_OPEN_DAY",
                "IS_EXCLUSIVE_OFFER",
                "HAS_MOVIE",
                "HAS_WALKAROUND",
                "HAS_REMOTE_SERVICES",
                "IS_FOR_STUDENTS",
                "ASPHALT_ACCESS",
                "ELEVATOR",
                "FURNITURE",
                "HEATING",
                "PARKING",
                "SHOP_WINDOW",
                "IS_BUNGALOV",
                "HAS_DISCOUNT"
              ],
              "enumTitles": [
                "Balcony",
                "Terrace",
                "Garage",
                "Basement",
                "Lift",
                "Separate kitchen",
                "Garden",
                "Two storey",
                "Has photos",
                "Is private owner",
                "Air conditioning",
                "Internet",
                "Cable television",
                "Non smokers only",
                "Usable room",
                "Has open day",
                "Is exclusive offer",
                "Has movie",
                "Has walkaround",
                "Has remote services",
                "Is for students",
                "Asphalt access",
                "Elevator",
                "Furniture",
                "Heating",
                "Parking",
                "Shop window",
                "Is bungalov",
                "Has discount"
              ]
            }
          },
          "media": {
            "title": "Utilities",
            "type": "array",
            "description": "Rentals: internet, cable television, phone; houses for rent also water, gas, electricity, sewage.",
            "items": {
              "type": "string",
              "enum": [
                "INTERNET",
                "CABLE_TELEVISION",
                "PHONE",
                "CESSPOOL",
                "ELECTRICITY",
                "GAS",
                "SEWAGE",
                "WATER",
                "WATER_PURIFICATION"
              ],
              "enumTitles": [
                "Internet",
                "Cable television",
                "Phone",
                "Cesspool",
                "Electricity",
                "Gas",
                "Sewage",
                "Water",
                "Water purification"
              ]
            }
          },
          "heating": {
            "title": "Heating",
            "type": "array",
            "description": "Flats for rent; halls (heated or not).",
            "items": {
              "type": "string",
              "enum": [
                "URBAN",
                "GAS",
                "TILED_STOVE",
                "ELECTRICAL",
                "BOILER_ROOM",
                "OTHER",
                "YES",
                "NO"
              ],
              "enumTitles": [
                "Urban",
                "Gas",
                "Tiled stove",
                "Electrical",
                "Boiler room",
                "Other",
                "Yes",
                "No"
              ]
            }
          },
          "availableFrom": {
            "title": "Available from",
            "enum": [
              "any",
              "now",
              "30_days",
              "90_days"
            ],
            "type": "string",
            "description": "Rentals."
          },
          "peoplePerRoom": {
            "title": "People per room",
            "type": "array",
            "description": "Rooms for rent.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "One person",
                "Two people",
                "Three people"
              ]
            }
          },
          "plotAreaMin": {
            "title": "Minimum plot area (m2)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Houses."
          },
          "plotAreaMax": {
            "title": "Maximum plot area (m2)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Houses."
          },
          "roofType": {
            "title": "Roof",
            "type": "array",
            "description": "Houses for sale.",
            "items": {
              "type": "string",
              "enum": [
                "FLAT",
                "DIAGONAL"
              ],
              "enumTitles": [
                "Flat",
                "Diagonal"
              ]
            }
          },
          "bungalowOnly": {
            "title": "Bungalows only",
            "type": "boolean",
            "description": "Houses."
          },
          "recreationalOnly": {
            "title": "Holiday houses only",
            "type": "boolean",
            "description": "Houses."
          },
          "plotType": {
            "title": "Plot type",
            "type": "array",
            "description": "Plots.",
            "items": {
              "type": "string",
              "enum": [
                "BUILDING",
                "AGRICULTURAL",
                "RECREATIONAL",
                "COMMERCIAL",
                "WOODLAND",
                "AGRICULTURAL_BUILDING",
                "HABITAT",
                "OTHER"
              ],
              "enumTitles": [
                "Building",
                "Agricultural",
                "Recreational",
                "Commercial",
                "Woodland",
                "Agricultural building",
                "Habitat",
                "Other"
              ]
            }
          },
          "vicinity": {
            "title": "Plot surroundings",
            "type": "array",
            "description": "Plots for sale.",
            "items": {
              "type": "string",
              "enum": [
                "FOREST",
                "LAKE",
                "OPEN_TERRAIN",
                "MOUNTAINS",
                "SEA"
              ],
              "enumTitles": [
                "Forest",
                "Lake",
                "Open terrain",
                "Mountains",
                "Sea"
              ]
            }
          },
          "commercialUse": {
            "title": "Use",
            "type": "array",
            "description": "Commercial premises (gastronomy, hotel, industrial, office, retail, services) and halls (stock, manufacturing, office, commercial).",
            "items": {
              "type": "string",
              "enum": [
                "GASTRONOMY",
                "HOTEL",
                "INDUSTRIAL",
                "OFFICE",
                "RETAIL",
                "SERVICES",
                "STOCK",
                "MANUFACTURING",
                "COMMERCIAL"
              ],
              "enumTitles": [
                "Gastronomy",
                "Hotel",
                "Industrial",
                "Office",
                "Retail",
                "Services",
                "Stock",
                "Manufacturing",
                "Commercial"
              ]
            }
          },
          "hallStructure": {
            "title": "Hall structure",
            "type": "array",
            "description": "Halls and warehouses.",
            "items": {
              "type": "string",
              "enum": [
                "STEEL",
                "BRICK",
                "SHED",
                "TENT",
                "WOOD",
                "GLASS"
              ],
              "enumTitles": [
                "Steel",
                "Brick",
                "Shed",
                "Tent",
                "Wood",
                "Glass"
              ]
            }
          },
          "hallHeightMin": {
            "title": "Hall height, minimum (m)",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Halls and warehouses."
          },
          "hallHeightMax": {
            "title": "Hall height, maximum (m)",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Halls and warehouses."
          },
          "developmentState": {
            "title": "Development state",
            "enum": [
              "any",
              "not_started",
              "in_building",
              "ready"
            ],
            "type": "string",
            "description": "New developments."
          },
          "developmentType": {
            "title": "Development type",
            "enum": [
              "any",
              "flats",
              "houses",
              "commercial"
            ],
            "type": "string",
            "description": "New developments."
          },
          "developerName": {
            "title": "Developer name",
            "type": "string",
            "description": "New developments: the developer's name, as Otodom's search reads it."
          },
          "developmentName": {
            "title": "Development name",
            "type": "string",
            "description": "New developments: the development's name."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Words of the ad text, through Otodom's own description search (\"taras\", \"ogrod\")."
          },
          "photosOnly": {
            "title": "With photos only",
            "type": "boolean",
            "description": "Ads with photos."
          },
          "videoOnly": {
            "title": "With a video only",
            "type": "boolean",
            "description": "Ads with a video."
          },
          "virtualTourOnly": {
            "title": "With a virtual tour only",
            "type": "boolean",
            "description": "Ads with a 3D walkaround."
          },
          "remoteServicesOnly": {
            "title": "Remote services only",
            "type": "boolean",
            "description": "Ads whose advertiser offers remote viewing and signing."
          },
          "openDayOnly": {
            "title": "Open day only",
            "type": "boolean",
            "description": "Ads with an open day."
          },
          "exclusiveOnly": {
            "title": "Exclusive offers only",
            "type": "boolean",
            "description": "Ads marked exclusive."
          },
          "discountOnly": {
            "title": "Discounted only",
            "type": "boolean",
            "description": "Ads with a discount."
          },
          "studentsOnly": {
            "title": "For students only",
            "type": "boolean",
            "description": "Rentals for students."
          },
          "radiusKm": {
            "title": "Radius around the place",
            "enum": [
              "0",
              "5",
              "10",
              "15",
              "25",
              "50",
              "75"
            ],
            "type": "string",
            "description": "Otodom's own \"+ km\" around a place."
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "1, 3 and 7 are Otodom's own filter; any other number of days is applied to each ad's creation date, reading newest first."
          },
          "postedAfter": {
            "title": "Posted on or after",
            "type": "string",
            "description": "A date (YYYY-MM-DD): ads created that day or later, read newest first."
          },
          "postedBefore": {
            "title": "Posted on or before",
            "type": "string",
            "description": "A date (YYYY-MM-DD): ads created that day or earlier."
          },
          "modifiedAfter": {
            "title": "Modified on or after (needs Listing details)",
            "type": "string",
            "description": "A date (YYYY-MM-DD): judged on each ad's own page, so \"includeListingDetails\" must be on; ads modified earlier are left out free (their page read is unpaid work)."
          },
          "excludeListingIds": {
            "title": "Leave out these ads",
            "type": "array",
            "description": "Ad ids, ID codes or links you already have: left out of every search, free.",
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Order",
            "enum": [
              "default",
              "newest",
              "oldest",
              "price_asc",
              "price_desc",
              "area_asc",
              "area_desc"
            ],
            "type": "string",
            "description": "Otodom's own orders. Left out: a pasted link keeps its own, a place reads Otodom's default (newest first when a posted date filter is set)."
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The search page to start from (72 ad slots a page). A search cut by a limit names its next page on its coverage row, so a later run can go on from there."
          },
          "maxItems": {
            "title": "Maximum ads per run",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Ads and development projects delivered in the whole run (default 1,000). Agency profiles are not counted."
          },
          "maxItemsPerSearch": {
            "title": "Maximum ads per search",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Per search (one place, transaction and property type, or one link)."
          },
          "maxPagesPerSearch": {
            "title": "Maximum pages per search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Search pages read per search (72 ad slots a page)."
          },
          "includeListingDetails": {
            "title": "Listing details (add-on)",
            "type": "boolean",
            "description": "Reads each delivered ad's own page: full description, coordinates, build year, building, heating, windows, rent and deposit, every characteristic and feature, all photos and floor plans, and the ad page as served. Charged as the Listing details event per ad whose page was read; it can be left off a row when the add-on's unpaid work allowance is spent."
          },
          "includeAgencyProfiles": {
            "title": "Agency profiles (add-on)",
            "type": "boolean",
            "description": "For the agency or developer of every delivered ad, once per agency: name, business phone, address, website, description, ad counts, named agents with their phones when the agency lists them, and the date it joined Otodom. Charged as the Agency profile event per agency delivered; a profile can be left off when the run's unpaid work allowance is spent."
          },
          "includeDevelopmentProjects": {
            "title": "Development projects as rows",
            "type": "boolean",
            "description": "A search shows new development projects as tiles beside the ads; on (the default), each project is delivered as a row of its own (type \"development\", charged as a Listing). Its units that match the search are always delivered as ads."
          },
          "includeMarketReport": {
            "title": "Market report (free)",
            "type": "boolean",
            "description": "Free summary rows over the delivered ads (count, median, lowest and highest price, median price per m2 and area, by city, property type and transaction) and one HTML page in the run's key value store."
          },
          "includeRawData": {
            "title": "Raw data",
            "type": "boolean",
            "description": "Adds each ad's record as Otodom served it (field \"raw\")."
          },
          "maxPhotos": {
            "title": "Photos per ad",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Photo links kept per ad (default 200, every photo)."
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "listings",
              "places"
            ],
            "type": "string",
            "description": "Ads (default), or a place lookup that lists the Otodom location paths a name matches (free rows; only the run's start fee is charged)."
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Requests to Otodom at once (default 2)."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Left out: the run's own address, then Apify's datacenter proxy (included in the price). Your own proxy links are used as given."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}