{
  "openapi": "3.0.1",
  "info": {
    "title": "Twine Freelancer Profiles Scraper",
    "description": "Scrape Twine freelancers by role and country — name, roles, location, day rate, rating, reviews, projects, skills with level, languages, industries, work experience, education, portfolio and badges. Browse role and country listings, read profiles directly, or browse all public profiles.",
    "version": "0.1",
    "x-build-id": "xbs8YdsWulSvbeCag"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scraping_crew~twine-freelancers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scraping_crew-twine-freelancers-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/scraping_crew~twine-freelancers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scraping_crew-twine-freelancers-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/scraping_crew~twine-freelancers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scraping_crew-twine-freelancers-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": {
          "roles": {
            "title": "Roles",
            "type": "array",
            "description": "Twine roles to collect freelancers for, one search per role, e.g. video editors, 3d animator, web-developers. Plain text is matched to the closest Twine role. Without countries, a role search continues country by country until the limit is reached.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter country codes, e.g. us, uk, de, in. Each role is searched separately in each country. With \"Browse all profiles\" they also filter the profiles read.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "Twine listing pages (twine.net/find/...), e.g. https://www.twine.net/find/3d-animators/uk/london, used as they are.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "profileUrls": {
            "title": "Profile URLs or usernames",
            "type": "array",
            "description": "Freelancer profiles to read directly, e.g. https://www.twine.net/ShaheenCG or just ShaheenCG.",
            "items": {
              "type": "string"
            }
          },
          "browseAllProfiles": {
            "title": "Browse all profiles",
            "type": "boolean",
            "description": "Read Twine's whole public freelancer directory, newest members first, until the limit is reached. Combine with the result filters and countries to build large targeted lists.",
            "default": false
          },
          "maxItems": {
            "title": "Max freelancers per search",
            "minimum": 1,
            "type": "integer",
            "description": "Stop each search (each role, role × country, listing URL or the profile browse; all profile URLs together count as one) after this many freelancers. Free plans are limited to 2 freelancers per run.",
            "default": 50
          },
          "includeProfileDetails": {
            "title": "Include profile details",
            "type": "boolean",
            "description": "Open each freelancer's profile to add full name, day rate, rating count, projects, all skills with level, languages, industries, work experience, education, portfolio, badges and activity dates. Turn off for faster, lighter results from listing pages only.",
            "default": true
          },
          "minDayRate": {
            "title": "Minimum day rate",
            "minimum": 0,
            "type": "integer",
            "description": "Only freelancers whose day rate is at least this (in the freelancer's currency, usually USD)."
          },
          "maxDayRate": {
            "title": "Maximum day rate",
            "minimum": 0,
            "type": "integer",
            "description": "Only freelancers whose day rate is at most this (in the freelancer's currency, usually USD)."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "",
              "3",
              "3.5",
              "4",
              "4.5",
              "4.8",
              "5"
            ],
            "type": "string",
            "description": "Only freelancers rated at least this (out of 5). Freelancers without a rating are skipped when set.",
            "default": ""
          },
          "minTotalFeedback": {
            "title": "Minimum number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Only freelancers with at least this many client ratings."
          },
          "minProjects": {
            "title": "Minimum portfolio projects",
            "minimum": 0,
            "type": "integer",
            "description": "Only freelancers with at least this many projects in their portfolio."
          },
          "proOnly": {
            "title": "Pro members only",
            "type": "boolean",
            "description": "Only freelancers with a Twine Pro or Premium membership.",
            "default": false
          },
          "excludeAgencies": {
            "title": "Exclude agencies",
            "type": "boolean",
            "description": "Skip organisation (agency / studio) accounts.",
            "default": false
          },
          "concurrency": {
            "title": "Concurrency",
            "enum": [
              "1",
              "2",
              "4",
              "8"
            ],
            "type": "string",
            "description": "How many pages are downloaded in parallel. Lower is gentler if you see errors.",
            "default": "2"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy servers used by the scraper. Not needed in most cases.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}