{
  "openapi": "3.0.1",
  "info": {
    "title": "Casting Networks Role Scraper — Casting Calls",
    "description": "Scrape public Casting Networks casting calls for acting jobs, one row per role: role_name, role_type, gender, age_range, union, rate, locations, submission_due_date and posted_date, plus project_name, project_type and project_synopsis. Filter by city, project type, union and post date. No login.",
    "version": "0.2",
    "x-build-id": "nnahO6cGp7ZhaYYAd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/herus13~castingnetworks-role-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-herus13-castingnetworks-role-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/herus13~castingnetworks-role-scraper/runs": {
      "post": {
        "operationId": "runs-sync-herus13-castingnetworks-role-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/herus13~castingnetworks-role-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-herus13-castingnetworks-role-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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Only roles in these regions, using the site's own location filter, for example Los Angeles, New York, Southeast, England or Australia. Several values are searched one after another and merged without duplicates. Leave empty for every location.",
            "items": {
              "type": "string",
              "enum": [
                "Los Angeles",
                "New York",
                "Southwest",
                "Southeast",
                "Northwest",
                "Northern California",
                "Southern California",
                "Mid-Atlantic",
                "Midwest",
                "Northeast",
                "South",
                "Honolulu",
                "Canada",
                "Vancouver",
                "Toronto",
                "England",
                "Wales",
                "Scotland",
                "Northern Ireland",
                "Ireland",
                "Australia",
                "New Zealand",
                "Mexico",
                "Colombia",
                "Argentina",
                "Peru",
                "Brazil",
                "France",
                "Spain",
                "South Africa"
              ]
            }
          },
          "project_types": {
            "title": "Project types",
            "type": "array",
            "description": "Only roles in these project categories: Commercial, Film, TV, Voice-Over, Print, Other or Vertical Short. Each row still carries the project's exact type, such as Short Film or Television Series. Leave empty for every project type.",
            "items": {
              "type": "string",
              "enum": [
                "Commercial",
                "Film",
                "TV",
                "Voice-Over",
                "Print",
                "Other",
                "Vertical Short"
              ]
            }
          },
          "role_types": {
            "title": "Role types",
            "type": "array",
            "description": "Only Principal roles, only Background roles, or both. Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "Principal",
                "Background"
              ]
            }
          },
          "unions": {
            "title": "Union status",
            "type": "array",
            "description": "Only roles whose project is Union, Non-Union, or Other (for example a mixed or unstated union status). Leave empty for every union status.",
            "items": {
              "type": "string",
              "enum": [
                "Union",
                "Non-Union",
                "Other"
              ]
            }
          },
          "posted_since": {
            "title": "Posted on or after",
            "type": "string",
            "description": "Only roles posted on or after this date, written as YYYY-MM-DD in UTC, for example 2026-09-20. Leave empty for any posting date."
          },
          "only_open": {
            "title": "Only roles still open for submissions",
            "type": "boolean",
            "description": "Default true: skip roles whose submission due date has already passed. The public billboard keeps some expired roles listed for a while; set false to include them, each marked with is_open false.",
            "default": true
          },
          "max_roles": {
            "title": "Max roles",
            "minimum": -1,
            "type": "integer",
            "description": "How many roles to return, newest first. Default 100. Set 0 to return none. Set -1 for no limit, which reads every matching role on the billboard (about 9,000 with no filters, a few hours).",
            "default": 100
          },
          "only_new": {
            "title": "Only roles new since the last run",
            "type": "boolean",
            "description": "Default false: a full run. Set true to skip roles an earlier run with the same filters already returned, unless the role was edited since. The memory is kept in a named key-value store in your account, one per filter combination.",
            "default": false
          },
          "open_call_urls": {
            "title": "Open Call links (optional)",
            "type": "array",
            "description": "Casting Networks Open Call links a casting director has published, such as https://app.castingnetworks.com/public-pages/open-call/NAME/ID. Rows of the same project get its extra details: credits, work dates, submission instructions and sides. Links are read as given; ids are never guessed. Leave empty for none.",
            "items": {
              "type": "string"
            }
          },
          "request_delay": {
            "title": "Request Delay (seconds)",
            "minimum": 0,
            "type": "integer",
            "description": "Extra seconds to wait between requests. Default 0, which adds no wait at all.",
            "default": 0
          },
          "proxyUrls": {
            "title": "Your own proxy URLs (optional)",
            "type": "array",
            "description": "Leave empty and the run uses the residential proxy this actor ships with, included in the price of the run. To route the run through your own account instead, add one gateway URL per entry, for example http://user:pass@host:port — works with DataImpulse, Bright Data, Oxylabs, Smartproxy or any provider that issues URLs. When set, only these URLs are used. Use US exits.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}