{
  "openapi": "3.0.1",
  "info": {
    "title": "Tech in Asia Scraper - Articles, Startup Database & Jobs",
    "description": "Scrape Tech in Asia's newsroom, its 120,000-company startup and investor database, and its job board from one actor. Article search with category, author and date filters; company lookups by country, funding stage and amount raised; job postings with salaries. No login needed.",
    "version": "0.0",
    "x-build-id": "l0xgxiK34vaX0TpyK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fanndev~techinasia-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fanndev-techinasia-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/fanndev~techinasia-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fanndev-techinasia-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/fanndev~techinasia-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fanndev-techinasia-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "latestPosts",
              "searchPosts",
              "categoryPosts",
              "tagPosts",
              "videoPosts",
              "postDetail",
              "taxonomies",
              "trendingQuestions",
              "companies",
              "companyDetail",
              "jobs"
            ],
            "type": "string",
            "description": "Pick what you want to collect. Tech in Asia publishes three separate bodies of data - its newsroom, its startup and investor database, and its job board - and each mode reads one of them.",
            "default": "latestPosts"
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "How many records to collect before stopping. Two ceilings sit above this and belong to Tech in Asia, not to the actor: article list routes stop at 900 records each, and any one search query stops at 1,000. The company database has no such ceiling - all 120,649 records are reachable.",
            "default": 200
          },
          "includeArticleContent": {
            "title": "Include the full article body",
            "type": "boolean",
            "description": "Off by default, so records carry metadata plus the publisher's own excerpt. Turn this on to add the article's full HTML body. Tech in Asia is a subscription publication - check your licence before republishing or redistributing article text.",
            "default": false
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Used by the searchPosts mode. One query per line. Leave empty to sweep the whole index newest-first. Each query returns up to 1,000 records, so several narrow queries reach further than one broad one.",
            "items": {
              "type": "string"
            }
          },
          "postTypes": {
            "title": "Article types",
            "type": "array",
            "description": "Optional filter for searchPosts. Known values: post (full articles), short (news briefs), visual-story. Leave empty for all types.",
            "items": {
              "type": "string"
            }
          },
          "filterCategories": {
            "title": "Filter by category name",
            "type": "array",
            "description": "Optional filter for searchPosts, matched on the category's display name - Fintech, Startups, Analysis, Crypto. Spelling and capitalisation must match exactly. Run the taxonomies mode to see every valid name.",
            "items": {
              "type": "string"
            }
          },
          "filterAuthors": {
            "title": "Filter by author name",
            "type": "array",
            "description": "Optional filter for searchPosts, matched on the author's display name exactly as it appears on their byline. This is the only way to list one writer's work - Tech in Asia publishes no author endpoint.",
            "items": {
              "type": "string"
            }
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Optional date floor for searchPosts. YYYY-MM-DD, or a unix timestamp."
          },
          "publishedBefore": {
            "title": "Published before",
            "type": "string",
            "description": "Optional date ceiling for searchPosts. YYYY-MM-DD, or a unix timestamp."
          },
          "categorySlugs": {
            "title": "Category slugs",
            "type": "array",
            "description": "Used by the categoryPosts mode. Slugs such as fintech, startups, analysis, crypto - or paste a full /category/... URL and the slug is taken from it.",
            "items": {
              "type": "string"
            }
          },
          "tagSlugs": {
            "title": "Tag slugs",
            "type": "array",
            "description": "Used by the tagPosts mode. Slugs such as indonesia, e-commerce, pitch-deck - or paste a full /tag/... URL.",
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Article URLs, slugs or ids",
            "type": "array",
            "description": "Used by the postDetail mode. Accepts a full article URL, a bare slug, or a numeric post id - all three resolve to the same record.",
            "items": {
              "type": "string"
            }
          },
          "includeCategories": {
            "title": "Include categories and topics",
            "type": "boolean",
            "description": "For the taxonomies mode: emit all 62 categories plus the site's curated topic map.",
            "default": true
          },
          "includeTags": {
            "title": "Include tags",
            "type": "boolean",
            "description": "For the taxonomies mode: also emit tags. There are 64,649 of them and the route serves the first 900, so this is a sample rather than the full list.",
            "default": false
          },
          "companyQuery": {
            "title": "Company search text",
            "type": "string",
            "description": "For the companies mode: free-text match on company name and description. Leave empty to sweep the whole database instead, which reaches all 120,649 records rather than the 1,000 a search returns."
          },
          "companyCountries": {
            "title": "Company countries",
            "type": "array",
            "description": "For the companies mode. Full country names, spelled as the database does: China, India, Indonesia, Singapore, United States, Japan, Australia, Korea Republic of, Israel, Vietnam, Malaysia, Hong Kong.",
            "items": {
              "type": "string"
            }
          },
          "fundingStages": {
            "title": "Latest funding stage",
            "type": "array",
            "description": "For the companies mode. Valid values: Seed, Series A, Series B, Series C, Series D, Pre-series A, Bridge, Debt, M&A, Early stage, Strategic investment, Unspecified Stage.",
            "items": {
              "type": "string"
            }
          },
          "companyIndustries": {
            "title": "Company industries",
            "type": "array",
            "description": "For the companies mode. Industry names as the database spells them, for example Venture Capital. Exact matches only.",
            "items": {
              "type": "string"
            }
          },
          "investorsOnly": {
            "title": "Investors only",
            "type": "boolean",
            "description": "For the companies mode: return only entities flagged as investors - 18,246 of the 119,712 indexed.",
            "default": false
          },
          "minAmountRaised": {
            "title": "Minimum total raised (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "For the companies mode: keep only companies whose lifetime total raised is at least this much."
          },
          "companySlugs": {
            "title": "Company slugs",
            "type": "array",
            "description": "Used by the companyDetail mode. The slug must match the database's own spelling exactly - gojek resolves, grab does not. Run the companies mode first to find the right slug.",
            "items": {
              "type": "string"
            }
          },
          "jobQuery": {
            "title": "Job search text",
            "type": "string",
            "description": "For the jobs mode: free-text match on job title, company and description. Leave empty to list the whole board."
          },
          "remoteJobsOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "For the jobs mode: keep only remote postings. Ignored when a job search text is given.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Off by default and genuinely optional. Tech in Asia runs no WAF and no IP gate - every surface here answers an unproxied request - so a proxy only adds cost. Turn it on if a very long run starts meeting a rate limiter.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}