{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor Agents Scraper",
    "description": "💫 Scrape agents data from Realtor.com",
    "version": "0.3",
    "x-build-id": "xU867vqmX1GGy4C39"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jupri~realtor-agents/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jupri-realtor-agents",
        "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/jupri~realtor-agents/runs": {
      "post": {
        "operationId": "runs-sync-jupri-realtor-agents",
        "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/jupri~realtor-agents/run-sync": {
      "post": {
        "operationId": "run-sync-jupri-realtor-agents",
        "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": {
          "query": {
            "title": "❓ Query",
            "type": "array",
            "description": "💡 Agent NAME / URL / ID / Advertise-ID",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "🧭 Location",
            "type": "string",
            "description": "💡 City, state or zip-code"
          },
          "limit": {
            "title": "♾️ Limit",
            "type": "integer",
            "description": "Limit results"
          },
          "sort": {
            "title": "♾️ Sorting",
            "enum": [
              "recent",
              "rating",
              "recommended",
              "sale",
              "sold"
            ],
            "type": "string",
            "description": ""
          },
          "search_type": {
            "title": "Type",
            "enum": [
              "agent",
              "team",
              "company"
            ],
            "type": "string",
            "description": "Agent type"
          },
          "photo": {
            "title": "Yes",
            "type": "boolean",
            "description": ""
          },
          "agent_type": {
            "title": "Worked with",
            "enum": [
              "buyer",
              "seller"
            ],
            "type": "string",
            "description": ""
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "asl",
                "afrikaans",
                "albanian",
                "arabic",
                "armenian",
                "bengali",
                "bosnian",
                "bulgarian",
                "chinese",
                "croatian",
                "czech",
                "danish",
                "dutch",
                "estonian",
                "farsi",
                "filipino",
                "finnish",
                "french",
                "gaelic",
                "georgian",
                "german",
                "greek",
                "hawaiian",
                "hebrew",
                "hindi",
                "hungarian",
                "indonesian",
                "italian",
                "japanese",
                "korean",
                "lao",
                "latvian",
                "lithuanian",
                "malay",
                "mandarin",
                "nepali",
                "norwegian",
                "polish",
                "portuguese",
                "punjabi",
                "romanian",
                "russian",
                "serbian",
                "sindhi",
                "singhalese",
                "slovenian",
                "spanish",
                "swahili",
                "swedish",
                "tagalog",
                "taiwanese",
                "thai",
                "turkish",
                "ukrainian",
                "urdu",
                "vietnamese",
                "yugoslavian"
              ],
              "enumTitles": [
                "ASL (American Sign Language)",
                "Afrikaans",
                "Albanian",
                "Arabic",
                "Armenian",
                "Bengali",
                "Bosnian",
                "Bulgarian",
                "Chinese",
                "Croatian",
                "Czech",
                "Danish",
                "Dutch",
                "Estonian",
                "Farsi",
                "Filipino",
                "Finnish",
                "French",
                "Gaelic",
                "Georgian",
                "German",
                "Greek",
                "Hawaiian",
                "Hebrew",
                "Hindi",
                "Hungarian",
                "Indonesian",
                "Italian",
                "Japanese",
                "Korean",
                "Lao",
                "Latvian",
                "Lithuanian",
                "Malay",
                "Mandarin",
                "Nepali",
                "Norwegian",
                "Polish",
                "Portuguese",
                "Punjabi",
                "Romanian",
                "Russian",
                "Serbian",
                "Sindhi",
                "Singhalese",
                "Slovenian",
                "Spanish",
                "Swahili",
                "Swedish",
                "Tagalog",
                "Taiwanese",
                "Thai",
                "Turkish",
                "Ukrainian",
                "Urdu",
                "Vietnamese",
                "Yugoslavian"
              ]
            }
          },
          "designations": {
            "title": "Certificates",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "abr",
                "ahwd",
                "alc",
                "bpor",
                "c2ex",
                "ccim",
                "cips",
                "cpm",
                "crb",
                "cre",
                "crets",
                "crs",
                "e-pro",
                "gaa",
                "grn",
                "gri",
                "mrp",
                "pmn",
                "psa",
                "raa",
                "rene",
                "rsps",
                "sfr",
                "sior",
                "sres",
                "srs"
              ],
              "enumTitles": [
                "ABR - Accredited Buyer's Representative",
                "AHWD - At Home With Diversity",
                "ALC - Accredited Land Consultant",
                "BPOR - Broker Price Opinion Resource",
                "C2EX - Commitment to Excellence Endorsed",
                "CCIM - Certified Commercial Investment Member",
                "CIPS - Certified International Property Specialist",
                "CPM - Certified Property Manager",
                "CRB - Certified Real Estate Brokerage",
                "CRE - Counselor of Real Estate",
                "CRETS - Certified Real Estate Team Specialist",
                "CRS - Certified Residential Specialist",
                "e-PRO - NAR's e-PRO®",
                "GAA - General Accredited Appraiser",
                "GRN - CNAR Green Designee",
                "GRI - Graduate, REALTOR® Institute",
                "MRP - Military Relocation Professional",
                "PMN - Performance Management Network",
                "PSA - Pricing Strategy Advisor",
                "RAA - Residential Accredited Appraiser",
                "RENE - Real Estate Negotiation Expert",
                "RSPS - Resort & Second Home Property Specialist",
                "SFR - Short Sales & Foreclosure Resource (SFR)",
                "SIOR - Society of Industrial and Office REALTORS®",
                "SRES - Seniors Real Estate Specialist",
                "SRS - Seller Representative Specialist"
              ]
            }
          },
          "min_rating": {
            "title": "Rating",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Minimum rating"
          },
          "min_recommended": {
            "title": "Recomendation",
            "enum": [
              "",
              "1",
              "5",
              "10"
            ],
            "type": "string",
            "description": "Minimum recomendation"
          },
          "min_price": {
            "title": "Price Range",
            "type": "integer",
            "description": ""
          },
          "max_price": {
            "title": "",
            "type": "integer",
            "description": ""
          },
          "dev_proxy_config": {
            "title": "🌐 PROXY NETWORKING",
            "type": "object",
            "description": "💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
          },
          "dev_custom_headers": {
            "title": "📜 HTTP HEADERS",
            "type": "array",
            "description": "💡 Additional HTTP Headers",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_custom_cookies": {
            "title": "🍰 HTTP COOKIES",
            "type": "array",
            "description": "💡 Additional HTTP Cookies",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_transform_fields": {
            "title": "♻️ CUSTOM FIELD",
            "type": "array",
            "description": "💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_dataset_name": {
            "title": "📁 CUSTOM STORAGE",
            "type": "string",
            "description": "💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
          },
          "dev_dataset_clear": {
            "title": "Clear Storage",
            "type": "boolean",
            "description": "Clear Dataset before insert/update."
          },
          "dev_no_strip": {
            "title": "Disable data cleansing",
            "type": "boolean",
            "description": "💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
          },
          "dev_fileupload": {
            "title": "📁 FILE UPLOADER",
            "type": "string",
            "description": "💡 Upload your file and copy & paste the URL somewhere."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}