{
  "openapi": "3.0.1",
  "info": {
    "title": "AstroSage Astrologer Scraper — Prices, Ratings, Reviews & Live",
    "description": "Scrape India's AstroSage Varta astrologer marketplace: 8,600+ online astrologers or the full 34,000+ directory with per-minute prices and discounts, ratings, followers, marketplace rank, languages, skills, city, bio, chat/call/video availability, live-stream prices and reviews. No login.",
    "version": "0.1",
    "x-build-id": "gJFzNQFpALBl5Fajd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~astrosage-astrologer-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-astrosage-astrologer-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/yugenox~astrosage-astrologer-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-astrosage-astrologer-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/yugenox~astrosage-astrologer-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-astrosage-astrologer-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": {
          "mode": {
            "title": "🔭 What to scrape",
            "enum": [
              "roster",
              "directory",
              "ids",
              "live",
              "ai"
            ],
            "type": "string",
            "description": "Online astrologers: everyone currently listed in the AstroSage app (about 8,600, every row has the marketplace rank). Full directory: every astrologer profile on AstroSage, online or offline (about 34,000). Specific astrologers: the IDs, profile URLs or slugs you list below. Live now: astrologers streaming live, with live-session prices. AI personas: AstroSage's AI astrologers.",
            "default": "roster"
          },
          "astrologers": {
            "title": "👤 Specific astrologers",
            "type": "array",
            "description": "For \"Specific astrologers\": astrologer IDs (31579), profile URLs (https://varta.astrosage.com/astrologer/jyotiastro66) or slugs (jyotiastro66). Filling this in switches to that mode automatically.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max astrologers",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of astrologers to save. Leave empty for no limit."
          },
          "includeProfile": {
            "title": "📄 Full profile",
            "type": "boolean",
            "description": "Add bio, city, state, country, education, focus areas, chat / call / video availability and minimum wallet balance. One extra request per astrologer. Always on for the full directory and specific astrologers.",
            "default": true
          },
          "includeReviews": {
            "title": "⭐ Reviews",
            "type": "boolean",
            "description": "Attach the newest client reviews (stars, comment, date, review type) to each astrologer. Reviewer identities are never included.",
            "default": false
          },
          "maxReviewsPerAstrologer": {
            "title": "⭐ Max reviews per astrologer",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "How many of the newest reviews to attach. 0 = all (up to 5,000). Reviews load 10 at a time, so large numbers slow the run down.",
            "default": 20
          },
          "currency": {
            "title": "💱 Price currency",
            "enum": [
              "INR",
              "USD"
            ],
            "type": "string",
            "description": "Prices as shown to customers in India (INR) or abroad (USD). International prices are set separately by AstroSage, not converted.",
            "default": "INR"
          },
          "language": {
            "title": "🌐 Language",
            "enum": [
              "en",
              "hi"
            ],
            "type": "string",
            "description": "Language of names, skills and bios where AstroSage has a translation.",
            "default": "en"
          },
          "skills": {
            "title": "Skills",
            "type": "array",
            "description": "Keep astrologers whose skills contain any of these words, e.g. Tarot, KP, Vedic, Numerology, Vastu, Lal Kitab, Nadi, Palmistry.",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Spoken languages",
            "type": "array",
            "description": "Keep astrologers who speak any of these languages, e.g. Hindi, English, Tamil, Bengali, Marathi.",
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Minimum rating",
            "pattern": "^$|^[0-5](\\.[0-9]+)?$",
            "type": "string",
            "description": "Keep astrologers rated at least this (0–5), e.g. 4.5."
          },
          "minRatingCount": {
            "title": "Minimum number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Keep astrologers with at least this many ratings."
          },
          "maxPricePerMin": {
            "title": "Maximum price per minute",
            "pattern": "^$|^[0-9]+(\\.[0-9]+)?$",
            "type": "string",
            "description": "Keep astrologers charging at most this per minute, in the currency chosen above (e.g. 30 for ₹30, or 0.5 for $0.50)."
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "any",
              "female",
              "male"
            ],
            "type": "string",
            "description": "Keep only female or male astrologers. Gender is known for astrologers in the app listing (online), so this filter drops offline profiles in the full directory.",
            "default": "any"
          },
          "verifiedOnly": {
            "title": "Verified astrologers only",
            "type": "boolean",
            "description": "Keep only astrologers with AstroSage's verified badge.",
            "default": false
          },
          "onlineOnly": {
            "title": "Online only",
            "type": "boolean",
            "description": "Keep only astrologers who are online right now (useful with the full directory).",
            "default": false
          },
          "excludeAI": {
            "title": "Exclude AI personas",
            "type": "boolean",
            "description": "Leave out AstroSage's AI astrologers (they appear in the full directory).",
            "default": false
          },
          "idFrom": {
            "title": "Directory: start at ID",
            "minimum": 1,
            "type": "integer",
            "description": "Full directory only: first astrologer ID to scrape. Useful to split a big crawl or to pick up only new astrologers (IDs grow over time)."
          },
          "idTo": {
            "title": "Directory: stop at ID",
            "minimum": 1,
            "type": "integer",
            "description": "Full directory only: last astrologer ID to scrape. Leave empty to go to the newest astrologer automatically."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "How many requests run in parallel. Higher is faster; the full directory takes about 10–15 minutes at 25.",
            "default": 15
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Apify datacenter proxy works well and is the default. Failed requests retry on fresh IPs, with an automatic residential fallback.",
            "default": {
              "useApifyProxy": true
            }
          },
          "appKey": {
            "title": "App key override",
            "type": "string",
            "description": "Leave empty. Only for support: overrides the built-in client key."
          },
          "appVersion": {
            "title": "App version override",
            "type": "string",
            "description": "Leave empty. Only for support."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}