{
  "openapi": "3.0.1",
  "info": {
    "title": "Texas New Business Entities Feed (LLCs & Corporations)",
    "description": "Texas new LLC and corporation feed from Comptroller open data: name, type, file number, dates, status, NAICS, city and ZIP. Companies only — no street addresses, no sole proprietors. Use in line with CAN-SPAM. Not affiliated with the State of Texas.",
    "version": "0.1",
    "x-build-id": "89zgGMMdqV9gOQDji"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jwaiworks~texas-new-business-entities/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jwaiworks-texas-new-business-entities",
        "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/jwaiworks~texas-new-business-entities/runs": {
      "post": {
        "operationId": "runs-sync-jwaiworks-texas-new-business-entities",
        "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/jwaiworks~texas-new-business-entities/run-sync": {
      "post": {
        "operationId": "run-sync-jwaiworks-texas-new-business-entities",
        "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": {
          "lookbackDays": {
            "title": "Look back (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How many days back to look for Texas new LLC and corporation charters, ending today, for example `7` for the past week (up to 365). Ignored when From/To dates are set.",
            "default": 7
          },
          "sinceDate": {
            "title": "From date",
            "type": "string",
            "description": "The first date to include, in YYYY-MM-DD format, for example `2026-10-01`. Optional; leave empty to use Look back (days)."
          },
          "untilDate": {
            "title": "To date",
            "type": "string",
            "description": "The last date to include, in YYYY-MM-DD format, for example `2026-10-31`. Optional; leave empty for today."
          },
          "dateField": {
            "title": "Date meaning",
            "enum": [
              "charter",
              "taxResponsibility"
            ],
            "type": "string",
            "description": "Which date decides whether an entity is new, for example the charter date (when it was chartered or registered with the Texas Secretary of State, the default) or the date it became liable for franchise tax.",
            "default": "charter"
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Only include entities in these Texas cities, for example `AUSTIN` or `FORT WORTH`. Leave empty for all cities.",
            "items": {
              "type": "string"
            }
          },
          "zipPrefixes": {
            "title": "ZIP prefixes",
            "type": "array",
            "description": "Only include entities whose ZIP code starts with these digits, for example `787` for the Austin area or `75201` for one ZIP. Leave empty for all ZIP codes.",
            "items": {
              "type": "string"
            }
          },
          "naicsPrefixes": {
            "title": "NAICS prefixes",
            "type": "array",
            "description": "Only include entities whose NAICS industry code starts with these digits, for example `5415` for computer systems design services. Many new entities have no NAICS code yet, so this filter can return few results.",
            "items": {
              "type": "string"
            }
          },
          "entityTypes": {
            "title": "Entity type codes",
            "type": "array",
            "description": "Only include these entity type codes, for example `CL` (Texas LLC), `CT` (Texas profit corporation). Leave empty for the default Texas new LLC and corporation set.",
            "items": {
              "type": "string"
            }
          },
          "includeProfessionalEntities": {
            "title": "Include professional associations/corporations",
            "type": "boolean",
            "description": "Turn this on to include professional associations and corporations (PA/PC), for example law, medical or accounting practices. They are off by default because they are often named after a person.",
            "default": false
          },
          "maxItems": {
            "title": "Max entities",
            "minimum": 1,
            "type": "integer",
            "description": "The most entities to deliver in one run, for example `100`. Leave empty for no cap."
          },
          "monitorMode": {
            "title": "Monitor mode (only new)",
            "type": "boolean",
            "description": "Turn this on to skip entities this monitor has already delivered, for example on a weekly schedule with a 7-day look-back. Skipped entities are not charged.",
            "default": false
          },
          "monitorStateName": {
            "title": "Monitor name",
            "type": "string",
            "description": "A name for this monitor's memory, for example `dfw-weekly`. Each name keeps its own list of delivered entities.",
            "default": "default"
          },
          "apiBaseUrl": {
            "title": "API base URL",
            "type": "string",
            "description": "The open data portal address, for example `https://data.texas.gov`, which is the default and the only accepted value, so leave this as it is.",
            "default": "https://data.texas.gov"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}