{
  "openapi": "3.0.1",
  "info": {
    "title": "AstroTalk Scraper — Astrologers, Prices, Ratings & Reviews",
    "description": "Scrape AstroTalk astrologers, no login: the app list by category, everyone online now (5,000+) or the full ~17,500 directory. Per-minute prices (INR/USD), ratings with star breakdown, lifetime chats, calls and minutes, skills, languages, live status, reviews and live sessions.",
    "version": "0.1",
    "x-build-id": "rS5SsU6lC80xx2Fa2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~astrotalk-astrologer-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-astrotalk-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~astrotalk-astrologer-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-astrotalk-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~astrotalk-astrologer-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-astrotalk-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": [
              "astrologers",
              "profiles",
              "reviews",
              "liveSessions",
              "categories"
            ],
            "type": "string",
            "description": "Astrologers: astrologer profiles from the online-now list or the full directory. Profiles: specific astrologers you list below. Reviews: reviews of the astrologers you list below. Live sessions: live streams running right now. Categories: the consultation category list.",
            "default": "astrologers"
          },
          "directoryScope": {
            "title": "Which astrologers",
            "enum": [
              "onlineNow",
              "allOnlineNow",
              "fullDirectory"
            ],
            "type": "string",
            "description": "App list: the astrologer list exactly as the app shows it right now, ranked, for the category tabs below (the top ~175; one fast request). Everyone online now: every astrologer available for chat (or call) at this moment, usually 5,000 or more (about 10 minutes for all). Full directory: every astrologer with a public profile, about 17,500, online or not (about 25 to 30 minutes for all).",
            "default": "onlineNow"
          },
          "categories": {
            "title": "Category tabs (app list)",
            "type": "array",
            "description": "Pull the app list as it appears under these category tabs. Each tab ranks astrologers for that topic; the New tab lists only newly joined astrologers. Leave empty for the main list.",
            "items": {
              "type": "string",
              "enum": [
                "Love",
                "Career",
                "Marriage",
                "Health",
                "Wealth",
                "Education",
                "Legal",
                "Finance",
                "Remedies",
                "Parents",
                "New"
              ]
            }
          },
          "service": {
            "title": "Consultation type",
            "enum": [
              "chat",
              "call"
            ],
            "type": "string",
            "description": "Chat or call. Decides the app list, and who counts as available in Everyone online now. Per-minute prices are the same for both.",
            "default": "chat"
          },
          "pricingMarket": {
            "title": "Price currency",
            "enum": [
              "india",
              "international"
            ],
            "type": "string",
            "description": "India: prices in INR as Indian customers see them. International: prices in USD as customers outside India see them (the INR equivalent is included too).",
            "default": "india"
          },
          "sortBy": {
            "title": "Sort (app list)",
            "enum": [
              "relevance",
              "ratingHighToLow",
              "experienceHighToLow",
              "ordersHighToLow",
              "priceLowToHigh",
              "priceHighToLow"
            ],
            "type": "string",
            "description": "Order of the online-now list. With Max items set, this decides which astrologers you get.",
            "default": "relevance"
          },
          "astrologers": {
            "title": "Astrologers (for Profiles / Reviews)",
            "type": "array",
            "description": "AstroTalk profile URLs (https://astrotalk.com/best-astrologer/shivshankar), profile slugs (shivshankar) or numeric astrologer ids. Used by the Profiles and Reviews modes.",
            "items": {
              "type": "string"
            }
          },
          "enrichProfiles": {
            "title": "Full profile details",
            "type": "boolean",
            "description": "For the app list, also load each astrologer's full profile: bio, star-rating breakdown, exact lifetime chats/calls and minutes, services, video and report prices. Turn off for a faster list-only snapshot. (The other scopes always load full profiles.)",
            "default": true
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Also collect each astrologer's latest reviews (one row per review, newest first).",
            "default": false
          },
          "maxReviewsPerAstrologer": {
            "title": "Max reviews per astrologer",
            "minimum": 0,
            "type": "integer",
            "description": "Newest reviews to collect per astrologer. 0 = all of them.",
            "default": 100
          },
          "includeReviewText": {
            "title": "Include review text",
            "type": "boolean",
            "description": "Include the written review and the astrologer's reply. Most AstroTalk reviews are star-only (about 6% have text). Reviewer names and photos are never included.",
            "default": false
          },
          "onlyReviewsWithText": {
            "title": "Only reviews with text",
            "type": "boolean",
            "description": "Skip star-only reviews (turns on review text). Scans further back to find written reviews.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep astrologers rated at least this (0 to 5)."
          },
          "minExperienceYears": {
            "title": "Minimum years of experience",
            "minimum": 0,
            "type": "integer",
            "description": "Keep astrologers with at least this many years of experience."
          },
          "maxPricePerMinInr": {
            "title": "Maximum price per minute (INR)",
            "minimum": 0,
            "type": "number",
            "description": "Keep astrologers charging at most this per minute, in INR (the INR equivalent is used for international prices)."
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Keep astrologers who speak any of these languages, e.g. English, Hindi, Tamil, Bengali.",
            "items": {
              "type": "string"
            }
          },
          "skills": {
            "title": "Skills",
            "type": "array",
            "description": "Keep astrologers with any of these skills, e.g. Vedic, Tarot, Numerology, Vastu, KP, Nadi, Palmistry, Face Reading, Psychic.",
            "items": {
              "type": "string"
            }
          },
          "onlyOnline": {
            "title": "Only astrologers online now",
            "type": "boolean",
            "description": "Keep only astrologers currently online or busy (useful with the full directory).",
            "default": false
          },
          "skipInactive": {
            "title": "Skip inactive profiles",
            "type": "boolean",
            "description": "Skip profiles AstroTalk marks inactive or disabled (mostly astrologers who stopped consulting).",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum astrologers (Astrologers / Profiles modes), reviews (Reviews mode) or live sessions to save. 0 = no limit.",
            "default": 100
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Parallel requests, each through its own proxy IP. 20 is fast and safe.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter by default; the run switches to residential by itself if datacenter IPs get blocked).",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}