{
  "openapi": "3.0.1",
  "info": {
    "title": "Singapore ACRA Company Register Scraper - UEN & SSIC Search",
    "description": "Singapore ACRA company register scraper (data.gov.sg open data). Search by name words, UEN, SSIC code, entity type, registration date or postal sector. One row per entity: UEN, name, type, status, date, address, SSIC, officer count. Monthly new-company feed, no login. $0.80 per 1,000.",
    "version": "1.0",
    "x-build-id": "XYGtogUS6ee7fOaH9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~singapore-acra-company-register/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-singapore-acra-company-register",
        "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/rel8ble~singapore-acra-company-register/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-singapore-acra-company-register",
        "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/rel8ble~singapore-acra-company-register/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-singapore-acra-company-register",
        "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": {
          "searchTerms": {
            "title": "Company name words or UENs",
            "type": "array",
            "description": "Whole words of the registered name, e.g. \"logistics\", \"engineering\", \"food trading\" (all words must appear), or UENs such as \"202558262R\" or \"53123456A\" for a lookup. Each name entry is its own search. Leave empty to list the register by the filters below.",
            "items": {
              "type": "string"
            }
          },
          "nameStartsWith": {
            "title": "Name starts with (letters)",
            "type": "array",
            "description": "Only names starting with these letters, e.g. \"A\", \"B\", or \"others\" for names starting with a digit or symbol. ACRA publishes the register in 27 parts by first letter, so fewer letters = a much faster run. Empty = all 27.",
            "items": {
              "type": "string"
            }
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Keep only these entity types. Empty = local companies, foreign company branches, LLPs and LPs (sole proprietorships and partnerships are left out unless you pick them).",
            "items": {
              "type": "string",
              "enum": [
                "Local Company",
                "Foreign Company Branch",
                "Limited Liability Partnership",
                "Limited Partnership",
                "Sole Proprietorship/ Partnership",
                "Public Accounting Firm"
              ]
            }
          },
          "liveOnly": {
            "title": "Live entities only",
            "type": "boolean",
            "description": "Keep only entities ACRA lists as live (\"Live Company\" / \"Live\"). Turn off to include struck off, dissolved, ceased and in-liquidation entities.",
            "default": true
          },
          "ssicCodes": {
            "title": "SSIC industry codes (primary activity)",
            "type": "array",
            "description": "Singapore Standard Industrial Classification code or prefix of the primary activity, 2 to 5 digits: \"62\" (IT and software), \"620\", \"62011\", \"46\" (wholesale), \"56\" (food service), \"41\" (construction). 2-digit prefixes cost two calls per letter.",
            "items": {
              "type": "string"
            }
          },
          "registeredFrom": {
            "title": "Registered on or after",
            "type": "string",
            "description": "YYYY-MM-DD or a relative period like \"30 days\", \"3 months\", \"1 year\". Use with newest first to list new companies."
          },
          "registeredTo": {
            "title": "Registered on or before",
            "type": "string",
            "description": "YYYY-MM-DD or a relative period like \"1 year\" (= registered more than a year ago)."
          },
          "postalSectors": {
            "title": "Postal sectors or postal codes",
            "type": "array",
            "description": "First 2 digits of the Singapore postal code (e.g. \"01\"-\"08\" CBD / Raffles Place, \"38\"-\"41\" Geylang, \"60\"-\"64\" Jurong) or full 6-digit postal codes (one building). Checked on each record, so very narrow filters read more of the register.",
            "items": {
              "type": "string"
            }
          },
          "companyTypes": {
            "title": "Company type contains",
            "type": "array",
            "description": "Keep companies whose company type contains one of these texts, e.g. \"Exempt Private\", \"Public Company Limited by Shares\", \"Limited by Guarantee\".",
            "items": {
              "type": "string"
            }
          },
          "sortOrder": {
            "title": "Sort by registration date",
            "enum": [
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Newest first (new company monitoring) or oldest first (longest-established).",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max results per search",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum rows per search entry. Up to 1,000 the rows are ordered by date across the whole register; above that (or 0 = everything that matches) rows stream letter by letter.",
            "default": 100
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries for a failed or rate-limited call (never charged).",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}