{
  "openapi": "3.0.1",
  "info": {
    "title": "Fotocasa Listings Scraper",
    "description": "Scrape Fotocasa.es property listings in Spain for sale and rent by location, filters or search URL: price, size, rooms, GPS, photos, agency and phone, price drops. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "D3WAWUYqfctj4osE9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~fotocasa-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-fotocasa-listings-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/nice_dev~fotocasa-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-fotocasa-listings-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/nice_dev~fotocasa-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-fotocasa-listings-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": {
          "startUrls": {
            "title": "Fotocasa URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Any of these, mixed and in any site language: a search page (`https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l`, the filters in the link are kept, pagination is automatic), a listing page (`https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/calefaccion/191265249/d`), a new-build project page or an agency page (`https://www.fotocasa.es/es/pro/la-casa-agency-atocha/`, all its listings). URLs are read as well as the search fields below. Max 1 000 URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "buy",
              "rent",
              "transfer",
              "share",
              "rent-to-own"
            ],
            "type": "string",
            "description": "What the listings offer. Applies to the search fields below, not to pasted URLs.",
            "default": "buy"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "homes",
              "garages",
              "land",
              "commercial",
              "offices",
              "storage",
              "buildings",
              "newDevelopments"
            ],
            "type": "string",
            "description": "**New developments** lists Fotocasa's new-build projects: one `promotion` row per project with its units, price and size ranges. Fotocasa filters projects by price, rooms, surface, keyword and publisher ID only: any other filter is refused with this type. Applies to the search fields below, not to pasted URLs.",
            "default": "homes"
          },
          "location": {
            "title": "Location",
            "maxLength": 200,
            "type": "string",
            "description": "City, province, district, neighborhood, street, ZIP code or point of interest, as typed in Fotocasa's search box (e.g. `Madrid`, `Sevilla`, `Barrio de Salamanca`, `Calle Goya, Madrid`, `28013`). The place used is Fotocasa's suggestion of the same name (each part of a double name counts: `San Sebastian` = Donostia - San Sebastián), else the place these words name in a Fotocasa URL, else the first suggestion whose name starts with the text (`Palma` = Palma de Mallorca, never La Palma), one with listings for sale first, a street or a zone only after all of these; none = the run says the place is not found. The place chosen is written in the log. Fotocasa location IDs (`724,14,28,173,0,28079,0,0,0`) work too. Empty, `España` or `Spain` = the whole of Spain."
          },
          "locations": {
            "title": "More locations",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several locations in one run: every keyword is searched in every location (3 keywords × 4 locations = 12 searches, max 500). Added to **Location**; a listing found by several searches is saved once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Search keyword",
            "maxLength": 200,
            "type": "string",
            "description": "Free text searched by Fotocasa in the listings (e.g. `piscina`, `piscina comunitaria`). Case is ignored."
          },
          "searchQueries": {
            "title": "More search keywords",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several keywords in one run: one search per keyword (times each location). Added to **Search keyword**.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "latitude": {
            "title": "Latitude (map radius)",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Centre of a real radius search, with **Longitude** (e.g. `40.4168`). Fotocasa keeps only the listings inside the circle, and each row gets its `distanceKm` from this point. Listings hidden from the map are not found this way."
          },
          "longitude": {
            "title": "Longitude (map radius)",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Centre of the radius search, with **Latitude** (e.g. `-3.7038`)."
          },
          "distanceKm": {
            "title": "Radius",
            "minimum": 0.1,
            "maximum": 200,
            "type": "number",
            "description": "Size of the circle around **Latitude** and **Longitude**. Ignored without them.",
            "default": 5
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of rows to save for the whole run (after deduplication and filters). 0 = no limit. Agency rows and `removed` rows do not count.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max listings per search",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap for EACH search (keyword × location, or search URL), so that the first search cannot use up the whole **Max listings** budget. 0 = no per-search cap.",
            "default": 0
          },
          "splitLargeSearches": {
            "title": "Split large searches",
            "type": "boolean",
            "description": "Fotocasa shows at most 10,000 listings per search. A larger search is cut by province, city, district and neighbourhood, then by price range, when what Fotocasa shows of it would not fill **Max listings** once your filters are applied (free, no extra charge). Off = the first 9,800 of each search only. A last-resort price split loses the listings without a price: the log says so.",
            "default": true
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Lowest price in euros. Empty or 0 = no minimum."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Highest price in euros. Empty or 0 = no maximum."
          },
          "minRooms": {
            "title": "Min rooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Empty or 0 = any."
          },
          "maxRooms": {
            "title": "Max rooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Empty or 0 = any."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Empty or 0 = any."
          },
          "maxBathrooms": {
            "title": "Max bathrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Empty or 0 = any."
          },
          "minSurface": {
            "title": "Min surface",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Empty or 0 = any."
          },
          "maxSurface": {
            "title": "Max surface",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Empty or 0 = any."
          },
          "propertySubtypes": {
            "title": "Property subtype",
            "type": "array",
            "description": "Only these kinds of property (one of them). The land and industrial values go with the **Land** and **Whole buildings** property types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "flat",
                "apartment",
                "house",
                "semiDetached",
                "penthouse",
                "duplex",
                "loft",
                "ruralProperty",
                "groundFloor",
                "studio",
                "land",
                "residentialLand",
                "constructibleLand",
                "nonConstructibleLand",
                "industrialLand",
                "industrialBuilding"
              ],
              "enumTitles": [
                "Flat",
                "Apartment",
                "House / chalet",
                "Semi-detached house",
                "Penthouse",
                "Duplex",
                "Loft",
                "Rural property",
                "Ground floor",
                "Studio",
                "Land",
                "Residential land",
                "Constructible land",
                "Non-constructible land",
                "Industrial land",
                "Industrial building"
              ]
            },
            "default": []
          },
          "conditions": {
            "title": "Condition",
            "type": "array",
            "description": "Only these states of repair. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "new",
                "almostNew",
                "veryGood",
                "good",
                "renovated",
                "toRenovate"
              ],
              "enumTitles": [
                "New",
                "Almost new",
                "Very good",
                "Good",
                "Renovated",
                "To renovate"
              ]
            },
            "default": []
          },
          "features": {
            "title": "Features",
            "type": "array",
            "description": "Only listings with ALL of these. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "airConditioning",
                "alarm",
                "balcony",
                "cctv",
                "cellar",
                "centralHeating",
                "communalArea",
                "communalParking",
                "communalPool",
                "concierge",
                "elevator",
                "ensuiteBathroom",
                "equippedKitchen",
                "fittedWardrobes",
                "furnished",
                "gym",
                "heatPump",
                "internet",
                "jacuzzi",
                "mountainViews",
                "parquet",
                "petsAllowed",
                "playground",
                "privateGarage",
                "privateGarden",
                "privatePool",
                "sauna",
                "seaViews",
                "seafront",
                "securityDoor",
                "solarPanels",
                "sportsArea",
                "storageRoom",
                "terrace",
                "unfurnished",
                "videoIntercom"
              ],
              "enumTitles": [
                "Air conditioning",
                "Alarm",
                "Balcony",
                "CCTV",
                "Cellar",
                "Central heating",
                "Communal area",
                "Communal parking",
                "Communal pool",
                "Concierge",
                "Elevator",
                "En-suite bathroom",
                "Equipped kitchen",
                "Fitted wardrobes",
                "Furnished",
                "Gym",
                "Heat pump",
                "Internet",
                "Jacuzzi",
                "Mountain views",
                "Parquet floor",
                "Pets allowed",
                "Children's area",
                "Private garage",
                "Private garden",
                "Private pool",
                "Sauna",
                "Sea views",
                "Seafront",
                "Security door",
                "Solar panels",
                "Sports area",
                "Storage room",
                "Terrace",
                "Unfurnished",
                "Video intercom"
              ]
            },
            "default": []
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Only listings with these Fotocasa labels. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "IS_LUXURY",
                "IS_MODERN",
                "IS_AFFORDABLE",
                "IS_SELLING_URGENT",
                "HAS_VIEW_TO_BEACH",
                "IS_ON_SEAFRONT",
                "HAS_A_FIREPLACE",
                "IS_ISOLATED",
                "IS_SINGLE_FAMILY_HOME",
                "IS_VILLA",
                "IS_ON_THE_COUNTRYSIDE",
                "IS_PREFABRICATED",
                "VPO",
                "IS_SHARED",
                "FOR_STUDENTS"
              ],
              "enumTitles": [
                "Luxury",
                "Modern",
                "Affordable",
                "Urgent sale",
                "Beach views",
                "On the seafront",
                "Fireplace",
                "Detached",
                "Single-family home",
                "Villa",
                "In the countryside",
                "Prefabricated",
                "Subsidised housing (VPO)",
                "Shared",
                "For students"
              ]
            },
            "default": []
          },
          "occupancy": {
            "title": "Occupancy status",
            "type": "array",
            "description": "Sale listings only: vacant, rented out, occupied, auction, bare ownership. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "AVAILABLE",
                "IS_RENTED",
                "OCCUPIED",
                "IS_AUCTIONED",
                "BARE_OWNERSHIP"
              ],
              "enumTitles": [
                "Vacant",
                "Rented out",
                "Occupied",
                "At auction",
                "Bare ownership"
              ]
            },
            "default": []
          },
          "rentalDuration": {
            "title": "Rental duration",
            "type": "array",
            "description": "Rent listings only. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "LONG_TERM",
                "TEMPORARY"
              ],
              "enumTitles": [
                "Long term",
                "Temporary"
              ]
            },
            "default": []
          },
          "publicationDate": {
            "title": "Published within",
            "enum": [
              "ANY",
              "ONE_DAY",
              "TWO_DAYS",
              "ONE_WEEK",
              "ONE_MONTH"
            ],
            "type": "string",
            "description": "Fotocasa's own date filter. For any other period use **Posted after** below.",
            "default": "ANY"
          },
          "priceDropOnly": {
            "title": "Price drops only",
            "type": "boolean",
            "description": "Only listings whose price was lowered.",
            "default": false
          },
          "withVideoOnly": {
            "title": "With video only",
            "type": "boolean",
            "description": "Only listings with a video.",
            "default": false
          },
          "subsidizedOnly": {
            "title": "Subsidies available only",
            "type": "boolean",
            "description": "Only listings eligible for housing subsidies.",
            "default": false
          },
          "bankFlatsOnly": {
            "title": "Bank flats only",
            "type": "boolean",
            "description": "Only flats sold by banks.",
            "default": false
          },
          "newConstructionOnly": {
            "title": "New build only",
            "type": "boolean",
            "description": "Only new-build listings (not the used market).",
            "default": false
          },
          "qualitySealOnly": {
            "title": "Quality seal only",
            "type": "boolean",
            "description": "Only listings from agencies with Fotocasa's quality seal.",
            "default": false
          },
          "agencyIds": {
            "title": "Agency IDs",
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Only the listings of these agencies: `sellerPublisherId` (`fa292226-6f00-4e3d-bede-0b5e7968f6d8`) or `sellerId` (`9202775531783`) from an earlier run. Each agency multiplies the searches (keyword × location × agency, max 500), in the whole of Spain unless a location is set. Pasting the agency page in **Fotocasa URLs** does the same.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "relevance",
              "priceAsc",
              "priceDesc",
              "surfaceAsc",
              "surfaceDesc",
              "roomsAsc",
              "roomsDesc"
            ],
            "type": "string",
            "description": "**Newest first** is the only order Fotocasa keeps strictly, the best one with **Only new listings** and **Posted after**: reading stops as soon as older listings start. New-build projects are the exception: Fotocasa sorts them by its own score, so a project search is read to its end, the projects already delivered skipped and not charged.",
            "default": "newest"
          },
          "includeDetails": {
            "title": "Listing details",
            "type": "boolean",
            "description": "Open each listing's detail record (1 extra request per listing) for the energy certificate (rating, consumption, emissions), heating, plot size, contact email on new-build units, agency website and registrations, subsidies. Charged per listing delivered with details (see Pricing). Off = these columns are null.",
            "default": false
          },
          "includeAgencyLeads": {
            "title": "Agency leads",
            "type": "boolean",
            "description": "Add one `agency` row per professional agency met, once per run, from the agency's Fotocasa profile: email, phone, website, address, opening hours, languages, agents, stock of listings by type. Charged per agency delivered with a profile; an agency with no profile gets a free row taken from its listing. Private sellers never get an agency row.",
            "default": false
          },
          "maxAgencyLeads": {
            "title": "Max agency leads",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on the agency profiles read in the run (the first agencies met). 0 = no limit.",
            "default": 0
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Only listings published on or after this date (the `publishedAt` column): `2026-09-01`, or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). Listings without a publication date are dropped."
          },
          "postedBefore": {
            "title": "Posted before",
            "type": "string",
            "description": "Only listings published on or before this date (the whole day is included), or older than a period such as `30 days`."
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop the listings whose title or description contains one of these WHOLE words (case and accents ignored): `art` drops \"Art deco\" but keeps \"Smart home\". Several words in one entry (`hand made`) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the title or description (no spaces there).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "requirePhone": {
            "title": "With phone only",
            "type": "boolean",
            "description": "Drop the listings without a phone number.",
            "default": false
          },
          "withPhotosOnly": {
            "title": "With photos only",
            "type": "boolean",
            "description": "Drop the listings without a photo.",
            "default": false
          },
          "privateSellersOnly": {
            "title": "Private sellers only",
            "type": "boolean",
            "description": "Keep only the listings of private individuals (about 1 listing in 18). Same as **Seller type** set to `Private`.",
            "default": false
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "all",
              "private",
              "professional"
            ],
            "type": "string",
            "description": "Keep only private sellers or only professionals. Fotocasa has no such filter: listings are read, then sorted out, until **Max listings** is filled. A large search is cut if what Fotocasa shows of it would not fill it (about 1 listing in 18 is from a private seller).",
            "default": "all"
          },
          "zipCodes": {
            "title": "ZIP codes",
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the listings with one of these 5-digit Spanish ZIP codes (e.g. `28013`). Fotocasa has no such filter: set the matching **Location** too, or the whole of Spain is read.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Skip the listings that a previous run (same **Memory key**) already delivered: they are not saved and not charged. First run = everything is new.",
            "default": false
          },
          "trackChanges": {
            "title": "Track changes",
            "type": "boolean",
            "description": "Compare each listing with the last run (same **Memory key**): every row gets `changeType` (`new`, `price_drop`, `price_rise`, `unchanged`), `previousPrice`, `priceChange` and `firstSeenAt`. A listing gone from the results gets a free `removed` row, only when every search was read to the end. Cannot be used with **Only new listings**.",
            "default": false
          },
          "onlyChanges": {
            "title": "Only changed listings",
            "type": "boolean",
            "description": "With **Track changes**: save only new listings and price changes. Unchanged listings are not saved and not charged.",
            "default": false
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by **Only new listings** and **Track changes**. Give each schedule / task its own key (e.g. `madrid-rentals`) so that they do not share their memory. Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset the memory",
            "type": "boolean",
            "description": "Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every listing again. Untick it afterwards.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of requests processed in parallel.",
            "default": 8
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to the site in any 60 seconds, all of them counted: search pages, listing details, agency profiles. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if the log shows HTTP 403.",
            "default": 240
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}