# Filmmakers API > Reference for the RESTful JSON API of Filmmakers (filmmakers.eu), a casting platform. It provides read access to actor and crew profiles, talent agencies, showreels and blog posts. AI agents: read "Using the API with AI Agents" first. It explains how to handle the API key and how to work with the API. ## Introduction Filmmakers provides a RESTful JSON API with OAuth and token-based authentication. How you get an API key depends on what you want to use the API for: * **Actors on Premium+** create the API key for their own profile themselves, in their [account settings](https://www.filmmakers.eu/users/edit) under "API access". Such a key gives read access to the actor's own data. * **For all other use cases**, you can request an API key through [our support page](https://www.filmmakers.eu/contact/new). The permission scope of the API key varies depending on the use case, so when contacting us, be sure to specify the desired use case (e.g., if you plan on using Filmmakers data for a website). See [Authentication](/authentication#getting-an-api-key) for details. If you let an AI agent work with the API, point it to [Using the API with AI Agents](/ai). ### API Updates and Backwards Compatibility While we do not plan to introduce any major breaking changes, we will add new features and endpoints over time. Below is a list of changes that we consider backwards compatible: * Adding new fields or links to responses * Adding new resources or endpoints * Adding new (optional) query parameters * Changing the default page length for paginated resources * Modifying the attributes of individual fields (including adding, removing, or modifying values). Updated lists can be retrieved via the attributes endpoint (see dedicated section) * Updating translations for individual attributes or skill levels Please bear this in mind when programming against our API, and try to ensure that these non-breaking changes do not break your code. If we do introduce a breaking change, we will create new endpoints with a new version prefix in the URI. --- ## Quickstart Get up and running with the Filmmakers API in minutes. ### Prerequisites Before you begin, you'll need an API key. Actors on Premium+ create one in their [account settings](https://www.filmmakers.eu/users/edit) under "API access"; for all other use cases, request one through [our support page](https://www.filmmakers.eu/contact/new). See [Getting an API Key](/authentication#getting-an-api-key). ### Make Your First Request Once you have your API key, you can make your first API call. Let's retrieve a list of actor profiles: **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/actor_profiles?per_page=5" \ -H "Authorization: Token token=YOUR_API_KEY" ``` **JavaScript (Fetch)** ```javascript const API_KEY = 'YOUR_API_KEY'; fetch('https://www.filmmakers.eu/api/v1/actor_profiles?per_page=5', { headers: { 'Authorization': `Token token=${API_KEY}` } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ; rel="next" ``` Use the `page` and `per_page` parameters to navigate: ```shell curl "https://www.filmmakers.eu/api/v1/actor_profiles?page=2&per_page=25" \ -H "Authorization: Token token=YOUR_API_KEY" ``` See [Pagination](/pagination) for more details. ### Next Steps - Browse the [API Reference](/api-reference) for a complete list of endpoints - Learn about [Authentication](/authentication) options including OAuth - Let an [AI agent](/ai) work with the API - Explore [Actor Profiles](/actor-profiles) and [Crew Profiles](/crew-profiles) endpoints - Check [Rate Limits](/rate-limits) to understand usage limits --- ## Authentication ### Getting an API Key #### Actors on Premium+ Actors on the Premium+ plan create the API key for their own profile themselves, in their [Filmmakers account settings](https://www.filmmakers.eu/users/edit) under "API access". * The key is shown exactly once, right after it has been generated. Copy it and store it in a safe place. * You can generate a new key in the account settings at any time. The previous key stops working as soon as you do. * The key is read-only and limited to your own data: your [actor profile](/actor-profiles), its [showreels](/showreels) and [blog](/blog-posts), and the [talent agencies](/talent-agencies) representing you. The endpoint to list actor profiles returns only your own profile. Casting calls and messages are not available, and requests that would change data are answered with `403 Forbidden`. * API access is part of Premium+. Once the profile is no longer on Premium+, the API answers with `403 Forbidden` and the message "API access is not included in your current plan." * A key that has not been used for 12 months expires. :::caution Treat your API key like a password, and never publish it, e.g., in client-side code or in a public repository. If someone else may have got hold of it, generate a new one. ::: #### Other Use Cases For all other use cases, API keys are issued by our support. You can request one through [our support page](https://www.filmmakers.eu/contact/new). The permission scope of the API key varies depending on the use case, so be sure to specify the desired use case when contacting us. If you let an AI agent work with the API, see [Using the API with AI Agents](/ai). ### Token-Based Once you have been issued an API key, you can use the following code to authorize requests: ```shell curl "api_endpoint_here" \ -H "Authorization: Token token=API_KEY" ``` Filmmakers expects the API key to be included in all API requests to the server in a header that looks like the following: `Authorization: Token token=API_KEY` :::note You must replace `API_KEY` with your personal API key. ::: ### OAuth :::caution OAuth support is not yet generally available. If you are interested in using it, please contact our support. ::: The Filmmakers API supports the OAuth flow with refresh tokens. #### Setting Up OAuth Access Once you have been issued an API key with OAuth Authorization enabled, you can use the following configuration from your client code: [Filmmakers OpenID Configuration](https://www.filmmakers.eu/.well-known/openid-configuration) See the example below on how to fetch the OAuth Access Token with curl. ```shell export CLIENT_ID="your-client-id-goes-here" export CLIENT_SECRET="your-client-secret-goes-here" curl -s -X POST "https://www.filmmakers.eu/oauth/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ --data-urlencode "grant_type=client_credentials" \ --data-urlencode "client_id=$CLIENT_ID" \ --data-urlencode "client_secret=$CLIENT_SECRET" \ --data-urlencode "scope=public" ``` ```json {"access_token":"Uvm37RVcZano399REpMXh837fDT-jtSc0lTvmEexpKI","token_type":"Bearer","expires_in":7200,"scope":"public","created_at":1730119409} ``` :::note You must replace `CLIENT_ID` and `CLIENT_SECRET` with your credentials. ::: #### Using OAuth Access Tokens Filmmakers expects the OAuth Access Token to be included in all API requests to the server in a header that looks like the following: `Authorization: Bearer ACCESS_TOKEN` OAuth access tokens expire after a set period (currently 120 minutes, though this may change in the future) and must be refreshed. Your client software is responsible for automating the OAuth flow. You can always retrieve the expiry time of an access token from the introspection endpoint listed in the [Filmmakers OpenID Configuration](https://www.filmmakers.eu/.well-known/openid-configuration). ```shell curl -I https://www.filmmakers.eu/api/v1/actor_profiles -H "Authorization: Bearer $ACCESS_TOKEN" -H "Accept: application/json" ``` ```text HTTP/1.1 200 OK ``` :::note You must replace `ACCESS_TOKEN` with a non-expired OAuth Access Token. ::: #### Introspecting Tokens Token information can be retrieved from the `introspection_endpoint` (see [Filmmakers OpenID Configuration](https://www.filmmakers.eu/.well-known/openid-configuration)). ```shell curl -X POST https://www.filmmakers.eu/oauth/introspect \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "token=ACCESS_TOKEN" \ -u "CLIENT_ID:CLIENT_SECRET" ``` :::note You must replace `CLIENT_ID` and `CLIENT_SECRET` with your credentials and `ACCESS_TOKEN` with your OAuth Access Token. ::: --- ## Using the API with AI Agents This page explains where AI agents find these docs in a machine-readable format, and which rules an agent should follow when it works with the API. ### LLM-Ready Docs These docs are available in a machine-readable format, following the [llms.txt](https://llmstxt.org/) convention. | File | Description | Link | |------|-------------|------| | `llms.txt` | An index of every documentation page with links and descriptions. | [/llms.txt](https://api.filmmakers.eu/llms.txt) | | `llms-full.txt` | The full text of the documentation in a single file for direct ingestion. | [/llms-full.txt](https://api.filmmakers.eu/llms-full.txt) | | `*.md` | Every page as plain Markdown. `llms.txt` links to these files. | e.g. [/actor-profiles.md](https://api.filmmakers.eu/actor-profiles.md) | Give your agent the link to this page, or to `llms.txt`, and hand over the API key the way the agent asks for secrets, for example as an environment variable. ### Instructions for Agents The rest of this page is written for the agent. It summarizes what the reference pages say and links to them; the reference pages are authoritative. Don't assume endpoints, parameters or fields that are not documented there. #### Authentication Send the API key with every request in the `Authorization` header (see [Authentication](/authentication)): ```shell curl "https://www.filmmakers.eu/api/v1/actor_profiles" \ -H "Authorization: Token token=$FILMMAKERS_API_KEY" ``` #### Keep the Key Secret The API key is a secret that belongs to its owner. - Read it from an environment variable or a secret store. Never hard-code it. - Never put it in client-side JavaScript, in build output that gets published, or in a repository. Add files that contain it (such as `.env`) to `.gitignore`. - Don't print it in logs, build output or error messages. - Only call the API from code that runs on a server or at build time. The API [supports CORS](/cors), but a request from a browser would expose the key to every visitor. #### Know What the Key Can Access The permission scope depends on the API key, see [Getting an API Key](/authentication#getting-an-api-key). Only use the endpoints the key is meant for, and don't retry a request that was answered with `403 Forbidden`. #### Handling Errors See [Error Codes](/errors) for the general rules. | Response | Meaning | What to do | |----------|---------|------------| | `401` | The key is not valid (any more), e.g., because a new key was generated or the key expired. | Ask the owner of the key for a new one. | | `403` | The key doesn't allow the request. | Don't retry. | | `410 Gone` | The resource was merged or deleted. | Follow `new_id` for merged resources and drop deleted ones, as described in [Error Codes](/errors). | | `429` | The rate limit was exceeded. | Wait until the time given in the `Ratelimit-Reset` header, see [Rate Limits](/rate-limits). | Cache responses instead of requesting the same data again, and keep the data you already have when a request fails. #### Write Code That Keeps Working The API changes over time in ways we consider [backwards compatible](/#api-updates-and-backwards-compatibility). Write code accordingly: - Ignore fields you don't know, and don't fail when a field is `null` or an optional field is missing. - Don't rely on the default page length. Pass `per_page` yourself and follow the `Link` header as described in [Pagination](/pagination). - Don't hard-code lists of attribute values or their translations. Fetch them from the [Attributes](/attributes) endpoints. - Don't use fields marked as deprecated in the reference. Use the replacement named there. - Check the [Changelog](/changelog) for new fields. --- ## API Reference This page provides a quick overview of all available API endpoints. Click on any endpoint to view detailed documentation. ### Base URL All API requests should be made to: ``` https://www.filmmakers.eu/api/v1/ ``` ### Endpoints Overview | Resource | Method | Endpoint | Description | Status | |----------|--------|----------|-------------|--------| | [Attributes](/attributes#get-all-attributes) | GET | `/attributes` | List all available attributes | Stable | | [Attributes](/attributes#get-keyvalue-pairs-for-attributes) | GET | `/attributes/{key}` | Get key/value pairs for a specific attribute | Stable | | [Actor Profiles](/actor-profiles#get-all-actor-profiles) | GET | `/actor_profiles` | List all actor profiles | Stable | | [Actor Profiles](/actor-profiles#get-a-specific-actor-profile) | GET | `/actor_profiles/{id}` | Get a specific actor profile | Stable | | [Crew Profiles](/crew-profiles#get-all-crew-profiles) | GET | `/crew_profiles` | List all crew profiles | Stable | | [Crew Profiles](/crew-profiles#get-a-specific-crew-profile) | GET | `/crew_profiles/{id}` | Get a specific crew profile | Stable | | [Talent Agencies](/talent-agencies#get-talent-agency-data) | GET | `/talent_agencies/{id}` | Get talent agency information | Stable | | [Blog Posts](/blog-posts#get-all-blog-posts) | GET | `/blog_posts` | List all blog posts | Stable | | [Blog Posts](/blog-posts#get-a-specific-blog-post) | GET | `/blog_posts/{id}` | Get a specific blog post | Stable | | [Showreels](/showreels#get-a-specific-showreel) | GET | `/showreels/{id}` | Get a specific showreel | Stable | | [Showreel Media](/showreel-media#get-specific-showreel-media) | GET | `/showreel_media/{id}` | Get specific showreel media | Stable | | [Messages](/messages#get-all-messages) | GET | `/messages` | List all messages | Beta | | [Messages](/messages#get-a-specific-message) | GET | `/messages/{id}` | Get a specific message | Beta | | [Casting Calls](/casting-calls#get-all-casting-calls) | GET | `/casting_calls` | List all casting calls | Beta | | [Casting Calls](/casting-calls#get-a-specific-casting-call) | GET | `/casting_calls/{id}` | Get a specific casting call | Beta | ### Authentication All endpoints require authentication. You can authenticate using either: - **Token-based authentication**: Pass your API key in the `Authorization` header - **OAuth 2.0**: Use the client credentials flow for access tokens See [Authentication](/authentication) for details. ### Common Parameters Most list endpoints support the following parameters: | Parameter | Description | Default | |-----------|-------------|---------| | `page` | Page number for pagination | 1 | | `per_page` | Number of results per page | 25 | | `locale` | Response language (en, de, fr, it, es, pl, ro, ru, tr) | en | | `fields` | Comma-separated list of fields to include | all | See [Pagination](/pagination) for more details on navigating results. --- ## Cross-Origin Resource Sharing (CORS) The API supports Cross-Origin Resource Sharing (CORS) for AJAX requests from any origin. Here's a sample request sent from a browser hitting [https://www.example.com/](https://www.example.com/): ```shell curl -I https://www.filmmakers.eu/api/v1/actor_profiles -H "Origin: https://www.example.com" Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET ``` --- ## Rate Limits Rate limits are enforced on a per-IP address basis. Currently, Filmmakers allows up to 300 requests within a 5-minute period. If this quota is exceeded, your IP will be throttled for the remainder of this period. In this case, the API will return an error response with status code `429`. Along with the status code, the following `RateLimit` response header fields will be returned: ``` Ratelimit-Limit: 300 Ratelimit-Remaining: 0 Ratelimit-Reset: 1597048500 ``` * `Ratelimit-Limit`: The request quota associated with your client (defaults to 300) * `Ratelimit-Remaining`: The requests left in the current period, always `0` in a `429` response * `Ratelimit-Reset`: When the current period ends and the quota resets, as a Unix timestamp in seconds Only `429` responses carry these headers, and like all HTTP header names, theirs are case-insensitive. Periods are fixed 5-minute windows aligned to the clock, e.g. 12:00 to 12:05, rather than counted from your first request. After a `429`, wait until `Ratelimit-Reset` before sending further requests. --- ## Pagination This API supports pagination, following the proposed [RFC-8288](https://tools.ietf.org/html/rfc8288) standard for Web linking. Pagination information is included in the response HTTP headers, namely `Total` (total entries), `Per-Page` (entries per page), and `Link` (containing links to corresponding pages). The current page can be set using the `page` parameter, and the number of entries per page can be specified with the optional `per_page` parameter. The default value for `per_page` is 250, and the maximum allowed value for `per_page` is 1000. If this limit is exceeded, a `400 Bad Request` error code will be returned. --- ## Error Codes Filmmakers uses conventional HTTP response codes to indicate the success or failure of an API request. - Codes in the `2xx` range indicate success. - Codes in the `4xx` range indicate an error that failed given the information provided (e.g., a required parameter is missing, the request lacks valid authentication credentials, etc.). - Codes in the `5xx` range indicate an error with our servers (these should rarely happen). Certain `4xx` errors, notably the `410 Gone` status, indicate that a requested resource is no longer available at the original URL. For merged resources (for example, an actor profile or a talent agency merged into another record), the response includes the ID of the new resource: ```json { "id": 123, "status": "merged", "new_id": 456 } ``` Clients should use new_id to access the merged resource. For soft-deleted resources, the response is: ```json { "id": 123, "status": "deleted" } ``` Clients should treat this resource as permanently unavailable. --- ## Webhooks :::caution Webhooks are not yet generally available. If you are interested in using them, please contact our support. ::: A webhook is an endpoint on your server that receives requests from Filmmakers, notifying you about events for actor profiles, such as a profile edit. This requires a new endpoint on your server, such as https://www.example.com/webhooks/filmmakers, which should be publicly accessible and allow unauthenticated POST requests. Note that HTTPS URLs are required for all webhook endpoints. **Read the Event Data** Filmmakers sends the event data in the request body. Each event is structured as an Event object with a type, timestamp, and related Filmmakers resource nested under `data` (currently only an actor profile ID – see example below): ```json { "type": "actor_profile.updated", "created": 1633887337, "data": { "id": 123 } } ``` There are currently two event types: `actor_profile.updated` and `actor_profile.deleted`. Note that update events are grouped if they occur within a reasonable timeframe; for example, you might only receive one webhook if an actor profile is updated several times within a short timeframe. **Return a 200 Response** Send a successful 200 response to Filmmakers as quickly as possible because the event is retried with exponential backoff if a response isn't sent within a reasonable time. This means that you should write any long-running processes as code that can run asynchronously outside the webhook endpoint. **Verify Requests Are Sent by Filmmakers** ``` X-Signature: t=1492774577, v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd ``` All webhook events are signed by including a signature in each event's header. This allows you to verify that the events were sent by Filmmakers, not by a third party. The API key is used as the secret to sign webhook events. Signatures are generated using a hash-based message authentication code (HMAC) with SHA-256. The `X-Signature` header included in each signed event contains a timestamp and one signature. The timestamp is prefixed by `t=`, and the signature is prefixed by a scheme. Schemes start with `v`, followed by an integer. Currently, the only signature scheme is `v1`. You can verify the signature on your side as follows: **Ruby** ```ruby # Step 1: Extract the timestamp and signatures from the header signature = request.headers["X-Signature"] .split(",") .map { |part| part.split("=") } .to_h # (this returns a hash like { "t" => 1492774577, "v1" => "5257a86..." }) # Step 2: Prepare the signed_payload string payload = request.body.read signed_payload = "#{signature['t']}.#{payload}" # Step 3: Determine the expected signature expected_signature = OpenSSL::HMAC.hexdigest( OpenSSL::Digest.new("sha256"), "YOUR_FILMMAKERS_API_KEY", signed_payload ) # Step 4: Compare the signatures expected_signature == signature["v1"] ``` **JavaScript (Node.js)** ```javascript const crypto = require('crypto'); // Step 1: Extract the timestamp and signatures from the header const signature = request.headers['x-signature']; const elements = signature.split(','); const signatureData = {}; elements.forEach(element => { const [key, value] = element.split('='); signatureData[key] = value; }); // (this returns an object like { "t": 1492774577, "v1": "5257a86..." }) // Step 2: Prepare the signed_payload string const payload = request.body; // assuming raw body const signedPayload = `${signatureData.t}.${payload}`; // Step 3: Determine the expected signature const expectedSignature = crypto .createHmac('sha256', 'YOUR_FILMMAKERS_API_KEY') .update(signedPayload) .digest('hex'); // Step 4: Compare the signatures const isValid = expectedSignature === signatureData.v1; ``` **PHP** ```php 1492774577, "v1" => "5257a86..."]) // Step 2: Prepare the signed_payload string $payload = file_get_contents('php://input'); $signedPayload = $signatureData['t'] . '.' . $payload; // Step 3: Determine the expected signature $expectedSignature = hash_hmac( 'sha256', $signedPayload, 'YOUR_FILMMAKERS_API_KEY' ); // Step 4: Compare the signatures $isValid = hash_equals($expectedSignature, $signatureData['v1']); ?> ``` --- ## Attributes ### Get All Attributes **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/attributes/" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/attributes/', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key uri = URI('https://www.filmmakers.eu/api/v1/attributes/') request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ###### Example Response ```json [ "accent_skill", "accents", "contract_types", "dances", "dialect_skill", "dialects", "drivers_licenses", "qualification", ... ] ``` This endpoint retrieves all possible profile attributes that are closed lists, such as languages or nationalities, as well as attributes for credits (vita entries). For countries, ISO 3166-1 alpha-2 codes are used ([see here](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). For federal states (states/subdivisions), ISO 3166-2 codes are used, e.g., for Germany: [https://en.wikipedia.org/wiki/ISO_3166-2:DE](https://en.wikipedia.org/wiki/ISO_3166-2:DE). Since the ISO lists are standardized (and extensive), they are not present in this endpoint for the time being. ### Get Key/Value Pairs for Attributes **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/attributes/xxx" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript // Replace 'xxx' with the specific attribute key, e.g., 'nationalities' fetch('https://www.filmmakers.eu/api/v1/attributes/xxx', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' # Replace 'xxx' with the specific attribute key, e.g., 'nationalities' attribute_key = 'xxx' api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/attributes/#{attribute_key}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ###### Example Response ```json { "AD": "Andorran", "AE": "United Arab Emirates", "AF": "Afghan", "AG": "Antigua and Barbuda", "AL": "Albanian", "AM": "Armenian", "AO": "Angolan", "AR": "Argentinean", "AT": "Austrian", "AU": "Australian", ... } ``` This endpoint retrieves all possible key/value pairs for one of the attributes. Pass one of the supported locales (see above) as a parameter to retrieve localized values. #### Contract Types Catalogue Contract types use stable integer identifiers. Retrieve their localized display labels from the `contract_types` attribute: `GET https://www.filmmakers.eu/api/v1/attributes/contract_types?locale=en` ###### Example Response ```json { "100001": "DE - Theatrical", "100002": "DE - ARD", "100004": "DE - ZDF", "5228": "SAG - AFTRA" } ``` The optional `locale` parameter controls the labels and defaults to English. JSON object keys are always strings; their numeric values correspond to the integer `contract_type` identifiers returned by the Casting Calls API. #### Qualification Catalogue Qualifications use stable string keys. Retrieve their localized display labels from the `qualification` attribute: `GET https://www.filmmakers.eu/api/v1/attributes/qualification?locale=en` ###### Example Response ```json { "certification": "Certification", "diploma": "Diploma", "bachelors_degree": "Bachelor's degree", "masters_degree": "Master's degree", "magister": "Magister", "other": "Other" } ``` The optional `locale` parameter controls the labels and defaults to English. The keys are returned as `qualification` values for primary and other professional training in the Actor Profiles API. --- ## Actor Profiles ### Get All Actor Profiles **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/actor_profiles" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/actor_profiles', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key uri = URI('https://www.filmmakers.eu/api/v1/actor_profiles') request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ###### Example Response ```json [ { "id": 1, "name": "John Doe", "gender": "m" }, { "id": 2, "name": "Jane Doe", "gender": "f" } ] ``` This endpoint retrieves all actor profiles available with the access rights of the API key. Most of the time, it is scoped to a talent agency. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/actor_profiles` #### Query Parameters Parameter | Default | Description --------- | ------- | ----------- page | 1 | Page to display – see "Pagination" section per_page | 250 | Items per page – see "Pagination" section include_picture | false | If set to true, the result will include the desktop/landscape main picture thumbnail in `main_picture_url_tile`. picture_version | null | Can be set to `original`, `large`, `thumb`, `thumb_large`, or `thumb_portrait` to change the included desktop/landscape main picture version. The picture will be included in `picture_url`. _(Only applies if `include_picture` is true)_ fields | name,gender | Can be used to modify the fields included in the response. Possible values are: `age`, `gender`, `gender_new`, `first_name`, `last_name`, `name`, `main_profession`, `professions`, `languages`, `representative`, `updated_at`. order | id | Changes the order of returned results. Possible values are: `id`, `name`, `last_name` direction | asc | Specifies the order direction of returned results. Possible values are: `asc` (ascending), `desc` (descending) gender | null | Allows filtering by gender values. Possible values are: `male`, `female`, `transgender_female`, `transgender_male`, `non_binary`, `custom`. updated_at[gte] | null | Allows filtering for profiles updated since the passed timestamp. Passed as an integer Unix timestamp. acting_age[lte] | null | Filter profiles with acting_age less than or equal to the value acting_age[gte] | null | Filter profiles with acting_age greater than or equal to the value languages | null | Filter profiles by languages (using ISO 639-2 codes). Multiple languages can be separated by commas, e.g., `deu,eng` q | null | Allows filtering by name. Uses trigram, so allows fuzzy & partial matches #### Response Fields Field | Type | Description --------- | ------- | ----------- id | number | Unique ID of the actor profile age | number | gender | string | `f` for female, `m` for male, `i` for diverse gender_new | string | `female` for female, `male` for male, `transgender_male` for transgender male, `transgender_female` for transgender female, `non_binary` for non-binary, `custom` for custom set gender gender_description | string | Custom information actors can enter about their gender identity (free text, max 75 characters) gender_searchability | array of strings | List of genders the actor profile can be found under, e.g., `["female", "non_binary"]`. _This always at least includes the gender of the actor profile if visible._ name | string | Full name (i.e., first & last name). _Name can be retrieved separately by using the fields parameter._ first_name | string | last_name | string | main_profession | string | Main profession of the actor profile. Possible values: `actor`, `young_actor`, `performer`. professions | array of strings | List of professions, e.g., `["schauspieler", "synchronsprecher"]`. _This includes the main_profession "schauspieler" (actor) or "nachwuchsdarsteller" (young_actor) when given._ languages | JSON Object | Format `{ "language": "skill level" }` updated_at | string | Format ISO 8601 main_picture_url_tile | string | Thumbnail URL of the desktop/landscape main picture picture_url | string | URL of the requested desktop/landscape main picture version picture_copyright | string | Copyright information for the desktop/landscape main picture representative | JSON Object | "id" and "name" of the agent representing the actor ### Get a Specific Actor Profile **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/actor_profiles/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/actor_profiles/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' actor_profile_id = '{id}' # Replace with the actual actor profile ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/actor_profiles/#{actor_profile_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the actor profile you want to retrieve. ###### Example Response ```json { "id": 162, "first_name": "John", "last_name": "Doe", "filmmakers_url": "https://www.filmmakers.eu/actors/john-doe", "filmmakers_cd_url": "https://cd.filmmakers.eu/profil/castupload/162", "acting_age_from": 35, "acting_age_to": 45, "year_of_birth": 1980, "age": 41, "height": 170, "weight": 60, "state_code": "DE-RP", "accommodation_options": [ "Berlin", "Frankfurt", "Köln" ], "homepage_url": "www.example.com", "imdb_link": "https://www.imdb.com/name/nm0000001", "imdb_id": "nm0000001", "facebook_page": "Filmmakers", "instagram_username": "Filmmakers", "sv_url": null, "wikipedia_url": "https://de.wikipedia.org/wiki/My_Page", "agency_profile_url": "https://www.my-agency/my-profile", "talent_agency_id": 1, "representative": { "id": 123, "name": "Jane Roe" }, "profile_visibility": "public", "attribute_visibility": { "age": "public", "acting_age": "public", "gender": "public", "ethnic_appearances": "private", "figures": "private", "working_permits": "public" }, "talent_agency_connections": [ { "talent_agency_id": 1, "talent_agency_employee_id": 123, "agency_profile_url": "https://www.my-agency/my-profile", "talent_agency_name": "My primary agency", "categories": [ "acting_agency" ], "regions": [ "dach" ], "connection_type": "primary_agency" }, { "talent_agency_id": 2, "talent_agency_employee_id": 321, "agency_profile_url": null, "talent_agency_name": "My PR agency", "categories": [ "pr" ], "regions": [ "italy" ], "connection_type": "secondary_agency" } ], "updated_at": "2021-06-22T16:14:11.519+02:00", "native_dialect": "rheinisch", "place_of_birth": "Darmstadt", "city": "Mainz", "gender": "m", "gender_new": "male", "gender_description": "genderfluid", "gender_searchability": [ "male" ], "eye_color": "braun", "hair_color": "braun", "hair_length": "mittel", "ethnic_appearances": [ "mitteleuropaisch" ], "ethnic_background": [ "6471" ], "ethnic_background_details": [ "6473" ], "ethnic_background_description": "My custom description", "figure": "normal", "pitch": "bariton", "nationalities": [ "DE" ], "languages": { "deutsch": "muttersprachlich", "englisch": "fliessend" }, "dialects": { "hessisch": "kann", "rheinisch": "kann" }, "accents": { "osterreichisch": "kann" }, "instruments": { "gitarre": "gut" }, "sports": [ "buhnenkampf" ], "dances": { "freestyle": "gut" }, "main_profession": "actor", "specializations": [ "synchronsprecher" ], "professions": [ "schauspieler", "synchronsprecher" ], "singing": { "jazz": "grundkenntnisse" }, "drivers_licenses": [ "pkw-klasse-b-be" ], "licenses": [ "fallschirmspringer-lizenz" ], "country": "DE", "state": "DE-RP", "special_skills": { "403": "gut" }, "unions": [ "bffs" ], "working_permits": [ "EU-27", "GB" ], "about_me": "This is a text about me", "about_me_html": "
This is a text about me
", "locations": [ { "name": "Berlin", "latitude": 52.52000659999999, "longitude": 13.404954, "place_id": "ChIJAVkDPzdOqEcRcDteW0YgIQQ", "type": "place", "country": "DE" }, { "name": "Gdańsk", "latitude": 54.35202520000001, "longitude": 18.6466384, "place_id": "ChIJb_rUFBxz_UYRjb63Y_H7uZs", "type": "accommodation", "country": "PL" }, { "name": "Munich", "latitude": 48.1351253, "longitude": 11.5819806, "place_id": "ChIJ2V-Mo_l1nkcRfZixfUq4DAE", "type": "accommodation", "country": "DE" }, { "name": "Hamburg", "latitude": 53.5510846, "longitude": 9.9936818, "place_id": "ChIJuRMYfoNhsUcRoDrWe_I9JgQ", "type": "accommodation", "country": "DE" }, { "name": "Cologne", "latitude": 50.937531, "longitude": 6.9602786, "place_id": "ChIJ5S-raZElv0cR8HcqSvxgJwQ", "type": "accommodation", "country": "DE" }, { "name": "Berlin", "latitude": 52.52000659999999, "longitude": 13.404954, "place_id": "ChIJAVkDPzdOqEcRcDteW0YgIQQ", "type": "accommodation", "country": "DE" } ], "pictures": [ { "id": 140, "copyright": "Jane Doe", "created_at": "2021-06-21T16:18:41.087+02:00", "url": "https://imgproxy.filmmakers.eu/production/b6ac24ef-7bbc-4486-bfc9-89fdce3a9fde.jpg", "versions": { "original": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:3840/h:2160/f:jpg/ZS5qcGVn", "large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:1200/h:1200/f:jpg/ZS5qcGVn", "thumb": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:190/h:190/g:no/f:jpg/ZS5qcGVn", "thumb_large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:500/h:500/g:no/f:jpg/ZS5qcGVn" }, "orientation": "square", "dimensions": [ 370, 370 ], "crop_coordinates": { "x": 0, "y": 0, "w": 500, "h": 500 }, "position": 2, "landscape_position": 1, "portrait_position": 2, "main_picture": true, "main_picture_portrait": false, "year": 2021, "recorded_at": "2020-06-22T11:51:51.363+02:00" }, { "id": 141, "copyright": "", "created_at": "2021-06-21T16:18:47.460+02:00", "url": "https://imgproxy.filmmakers.eu/production/5c5a1832-3ee4-495d-bfb0-03694dab0bd2.jpg", "versions": { "original": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:3840/h:2160/f:jpg/ZS5qcGVn", "large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:1200/h:1200/f:jpg/ZS5qcGVn", "thumb": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:190/h:190/g:no/f:jpg/ZS5qcGVn", "thumb_large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:500/h:500/g:no/f:jpg/ZS5qcGVn" }, "orientation": "landscape", "dimensions": [ 365, 360 ], "position": 1, "landscape_position": 2, "portrait_position": 1, "main_picture": false, "main_picture_portrait": true, "year": 2021, "recorded_at": null } ], "external_showreel": "https://www.youtube.com/watch?v=xxxx", "external_showreels": [ "https://www.youtube.com/watch?v=xxxx", "https://vimeo.com/xxxx" ], "showreels": [ { "name": "Showreel 2021", "url": "https://www.filmmakers.eu/actors/john-doe/showreels/15", "type": "video" }, { "name": "Showreel 2020", "url": "https://www.filmmakers.eu/actors/john-doe/showreels/16", "type": "video" }, { "name":"Audioreel 2021", "url":"https://www.filmmakers.eu/actors/john-doe/showreels/17", "type":"audio" } ], "showreel_ids": [ 12345, 12346 ], "showreel_medium_ids": [ 123456, 123457, 123458, 123459, 123460 ], "mentioned_in_blog_post_ids": [ 211, 344 ], "vita": { "primary_education": [ { "name": "ABC School", "month_from": 9, "year_from": 2012, "month_to": 6, "year_to": 2015, "qualification": "diploma" } ], "award": [ { "info": null, "name": "Avanca Film Festival - Best Performance", "year_from": 2017, "year_to": 2017, "award_nominated": true } ], "education": [ { "info": null, "name": "123 School", "month_from": 10, "year_from": 2013, "month_to": 3, "year_to": 2014, "qualification": "certification" } ], "film": [ { "info": null, "name": "Schneeflöckchen", "year_from": 2019, "year_to": 2020, "in_development": false, "role": "Jack", "role_type": "supporting", "distributor": null, "director": "Adolfo Kolmerer", "producer": null, "caster": null, "picture": { "url": "https://imgproxy.filmmakers.eu/gqz46mqnA" } }, { "info": null, "name": "The Harmonica ", "year_from": 2018, "year_to": 2018, "in_development": false, "role": "Felix", "role_type": "leading", "distributor": null, "director": null, "producer": "Deutsche Film- und Fernsehakademie Berlin", "caster": null, "picture": { "url": null } } ], "television": [ { "info": null, "name": "Mord mit Aussicht", "episode_name": "Sophie kommet doch all", "year_from": 2015, "year_to": 2016, "in_development": false, "type_genre": "series", "role": "Robert", "role_type": "episode_featured_part", "distributor": null, "director": null, "producer": null, "caster": null, "picture": { "url": null } } ], "theatre": [ { "info": null, "name":"Das Dschungelbuch (Jungle Book)", "year_from":2001, "year_to":2002, "in_development": false, "type_genre": null, "favorite":false, "role":"Mowgli", "role_type": null, "director":"Robert Persche", "producer": null, "caster": null, "writer": null, "theater_name":"Stadttheater Klagenfurt", "theater_engagement_type": null, "picture": { "url": null }, "distributor":"Stadttheater Klagenfurt" } ], "audio": [], "other": [], "internet": [], "commercial": [] } } ``` This endpoint retrieves a specific actor profile. #### Pictures The `pictures` array is returned in desktop/landscape order. Sort it by `portrait_position` for mobile/portrait display. The two display contexts can use different main pictures. Field | Type | Description --------- | ------- | ----------- position | number | The picture's position in the overall base gallery order, before the display-specific main picture is moved first. landscape_position | number | The picture's position in the overall desktop/landscape order. The returned `pictures` array uses this order. portrait_position | number | The picture's position in the overall mobile/portrait order. main_picture | boolean | `true` for the desktop/landscape main picture (`landscape_position: 1`). main_picture_portrait | boolean | `true` for the mobile/portrait main picture (`portrait_position: 1`). Use `url` or an entry from `versions` on the selected picture. There is no separate top-level URL for the portrait main picture. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/actor_profiles/` #### URL Parameters Parameter | Description --------- | ----------- ID | The ID of the actor profile to retrieve #### Query Parameters Parameter | Default | Description --------- | ------- | ----------- enum | null | Controls the representation of attributes with closed lists. Omit it to receive stable keys, set it to `translate` for localized strings, or set it to `v2` for objects containing `key` and `translation`. _Note that hash and array attributes (e.g., dances / sports) will be joined to a comma-separated string when using `translate`._ locale | en | Selects the language for localized fields and enum labels. Possible values are: `en`, `de`, `fr`, `it`, `es`, `pl`, `ro`, `uk`, `ru`, `tr`. It controls enum labels when `enum` is set to `translate` or `v2`; free text vita fields are only available in the entry language. #### Response Fields See the example response above for an overview of included fields. Please note: - **Deprecation**: `external_showreel` is deprecated. Use `external_showreels` instead. - **Deprecation**: `pitch` is deprecated. Use `pitches` instead. - **Deprecation**: `figure` is deprecated. Use `figures` instead. - **Deprecation**: `native_dialect` is deprecated. Use `native_dialects` instead. - **Deprecation**: `castupload_url` is deprecated. Use `filmmakers_url` instead. - **Deprecation**: `castupload_professional_url` is deprecated. Use `filmmakers_cd_url` instead. - **Deprecation**: `professions` is deprecated. Use `main_profession` and `specializations` instead. - **Deprecation**: `ethnic_appearances` is deprecated. Use `ethnic_background`, `ethnic_background_details`, and `ethnic_background_description` instead. It is not guaranteed that the example JSON structure shown is complete. Additional fields may be added without notice. The following table provides additional context for the individual fields visible in the example JSON structure: Field | Type | Description --------- | ------- | ----------- talent_agency_connections[].talent_agency_id | integer | ID of the talent agency talent_agency_connections[].talent_agency_employee_id | integer | ID of the talent agency employee talent_agency_connections[].agency_profile_url | string | Actor profile URL on the website of their agency talent_agency_connections[].talent_agency_name | string | Name of the agency talent_agency_connections[].categories | Array | Indicates the areas in which the agency represents the client. Possible values are "acting_agency", "advertising", "artist_management", "model_agency", "people_agency", "pr", "voice_agency", or "young_talent_agency". If the categories on the connection are empty, the categories of the talent agency are returned. talent_agency_connections[].regions | Array | Indicates in which geographical regions the agency represents the client. If the regions on the connection are empty, the regions of the talent agency are returned. Possible values can be retrieved by using the attributes endpoint, see https://api.filmmakers.eu/attributes talent_agency_connections[].connection_type | string | Indicates the type of agency connection, which can be either "primary_agency" (the main agency) or "secondary_agency". There can be multiple secondary agencies. agency_profile_url | string | Actor profile URL on the website of their agency **Note** Please use talent_agency_connections[].agency_profile_url instead talent_agency_id | integer | ID of the talent agency **Note** Please use talent_agency_connections[].talent_agency_id instead representative.id | integer | ID of the talent agency employee **Note** Please use talent_agency_connections[].talent_agency_employee_id instead representative.name | string | Name of the talent agency employee **Note** Please use talent_agency#employees.first_name/last_name instead attribute_visibility | hash | Indicates per attribute `age`, `acting_age`, `gender`, `ethnic_appearances`, `figures`, and `working_permits` whether these are publicly visible on Filmmakers (`public`) or only visible to verified casting professionals (`private`) profile_visibility | string | Visibility of the profile on Filmmakers (`public` or `private`) showreel_ids | Array | IDs of showreels (see `showreels` endpoint) showreel_medium_ids | Array | IDs of showreel media that are either connected to a showreel or credits/skills (see also `showreel_media` endpoint) vita | hash | A collection of credits, where each entry contains structured data related to a specific credit. The entries are sorted by the following criteria: `in_development` (entries with `true` are prioritized), `year_to`/`year_from` (in descending chronological order), `position` (manually sorted by the user), and `id`. The credits are grouped by type, such as `education`, `television`, `theatre`, etc. vita.primary_education | Array | The primary professional acting education. Acting-school entries include the date and qualification fields below. Autodidact entries contain `name` and `info` instead and omit those fields. vita.education | Array | Other professional training. Entries include the common vita fields plus the date and qualification fields below. vita.primary_education[].month_from, vita.education[].month_from | integer or null | Start month from `1` (January) through `12` (December). A null month with a year represents year-only precision. vita.primary_education[].year_from, vita.education[].year_from | integer or null | Start year. vita.primary_education[].month_to, vita.education[].month_to | integer or null | End month from `1` (January) through `12` (December). A null month with a year represents year-only precision. vita.primary_education[].year_to, vita.education[].year_to | integer or null | End year. It is required when saving an acting-school entry but may be null on other professional training or legacy records. vita.primary_education[].qualification, vita.education[].qualification | string, object, or null | Qualification. By default this is one of the stable keys from the [qualification catalogue](/attributes#qualification-catalogue). With `enum=translate` it is a localized string; with `enum=v2` it is an object containing `key` and `translation`. vita.x[].in_development | boolean | Indicates film projects that are still in development, meaning it has not been completed or released yet ethnic_background | Array | Contains general ethnicities or heritages of the actor. Visibility depends on the setting for `ethnic_appearances` (as described above under _attribute_visibility_). ethnic_background_details | Array | Contains specific ethnicities or heritages of the actor, e.g., specific countries. ethnic_background_description | string | Contains a custom description of ethnicities or heritages entered by the actor. about_me | string | Returned as plain text (stripped of any rich text formatting). This field is localized. If the `locale` query parameter is not provided, the API attempts to return the English (`en`) version of `about_me`. To request the `about_me` text in a specific language, use the `locale` query parameter (e.g., `?locale=de`). If the `about_me` content for the requested locale is not available, it will return null. about_me_html | string | Returns an HTML version of `about_me` with **HTML markup**. Content is automatically sanitized. Allowed HTML tags include `a, b, br, div, em, h1, h2, h3, img, li, ol, p, strong, ul` and others. mentioned_in_blog_post_ids | Array | IDs of blog posts in which the profile was mentioned locations | Array | Places of residence (type: `place`) and housing options (type: `accommodation`). Places of residence are sorted on top. --- ## Crew Profiles ### Get All Crew Profiles Here is an example request: **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/crew_profiles" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/crew_profiles', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key uri = URI('https://www.filmmakers.eu/api/v1/crew_profiles') request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ###### Example Response ```json [ { "id": 1, "name": "John Doe", "gender": "m" }, { "id": 2, "name": "Jane Doe", "gender": "f" } ] ``` This endpoint retrieves all crew profiles available with the access rights of the API key. Most of the time, it is scoped to a talent agency. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/crew_profiles` #### Query Parameters | Parameter | Default | Description | |-------------------|---------|-------------| | page | 1 | Page to display – see "Pagination" section | | per_page | 250 | Items per page – see "Pagination" section | | gender | null | Allows filtering by gender values. Possible values are: `male`, `female`, `transgender_female`, `transgender_male`, `non_binary`, `custom`. Returned as `m`, `f`, or `i` in the JSON response (depending on internal mapping). | | updated_at[gte] | null | Allows filtering for profiles updated since the passed timestamp. Passed as an integer Unix timestamp. | | q | null | Allows filtering by name. Uses trigram, so allows fuzzy & partial matches. | | include_picture | false | If set to `true`, the result will include the profile picture thumbnail in a field named `main_picture_url_tile`. | | picture_version | null | Can be set to `original`, `large`, `thumb`, or `thumb_large` to change the included picture version. The picture will be included in a field named `picture_url`. _(Only applies if `include_picture` is `true`.)_ | | fields | name,gender | Can be used to modify the fields included in the response. Allowed fields are: `name`, `first_name`, `last_name`, `gender`, `professions`, `languages`, `representative`, `updated_at` | | order | id | Changes the order of returned results. Allowed values: `id`, `name`, `last_name`. | | direction | asc | Specifies the order direction of returned results. Possible values are: `asc` (ascending), `desc` (descending) | | professions[] | null | Filter crew profiles by professions – allows passing multiple profession names using array form of the parameter, e.g., `professions[]=regie&professions[]=kamera`. Allowed values: `regie`, `autor`, `kamera`, `komponist`, `dramaturg`, `schnitt`. | > **Note:** > - Only visible showreels and vita entries are returned. > - Pictures that are invisible or still processing are skipped. > - The `representative` field is only present if the crew member is represented by a talent agency employee. > - If a user requests a forbidden or unknown field in `fields`, it is ignored (not an error). #### Response Fields | Field | Type | Description | |-----------------------|------------------|-------------| | id | number | Unique ID of the crew profile | | name | string | Full name of the crew member (usually first & last name) | | gender | string | `f` for female, `m` for male, `i` for diverse | | professions | array of strings | A list of professions, e.g., `["regie", "kamera"]` | | main_picture_url_tile | string | Profile picture URL (thumbnail version) if `include_picture` is set | | picture_url | string | Profile picture URL of the specified version if `picture_version` is set | | picture_copyright | string | Copyright information | | representative | JSON Object | Contains "id" and "name" of the talent agency employee | | about_me | string | Returned as plain text (stripped of any rich text formatting). This field is localized. If the `locale` query parameter is not provided, the API attempts to return the English (`en`) version of `about_me`. To request the `about_me` text in a specific language, use the `locale` query parameter (e.g., `?locale=de`). If the `about_me` content for the requested locale is not available, it will return null.| | about_me_html | string | Returns an HTML version of `about_me` with **HTML markup**. Content is automatically sanitized. Allowed HTML tags include `a, b, br, div, em, h1, h2, h3, img, li, ol, p, strong, ul` and others. | | updated_at | string | Format ISO 8601 | --- ### Get a Specific Crew Profile Example request: **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/crew_profiles/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/crew_profiles/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' crew_profile_id = '{id}' # Replace with the actual crew profile ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/crew_profiles/#{crew_profile_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the crew profile you want to retrieve. ###### Example Response ```json { "id": 162, "first_name": "John", "last_name": "Doe", "year_of_birth": 1980, "place_of_birth": "Berlin", "professions": ["regie", "autor"], "nationalities": ["DE", "FR"], "languages": { "deutsch": "muttersprachlich", "englisch": "fliessend" }, "accommodation_options": [ "Berlin", "Köln" ], "about_me": "This is a text about me.", "about_me_html": "
This is a text about me.
", "representative": { "id": 123, "name": "Jane Roe" }, "talent_agency_id": 1, "pictures": [ { "id": 140, "copyright": "John Doe", "url": "https://imgproxy.filmmakers.eu/production/abc.jpg", "versions": { "original": "https://imgproxy.filmmakers.eu/...", "large": "https://imgproxy.filmmakers.eu/...", "thumb": "https://imgproxy.filmmakers.eu/...", "thumb_large": "https://imgproxy.filmmakers.eu/..." }, "orientation": "portrait", "dimensions": [50, 64], "crop_coordinates": { "x": 0, "y": 36, "w": 357, "h": 357 }, "position": 1, "main_picture": true, "year": 2020, "recorded_at": "2020-12-23T18:16:52+00:00" } ], "external_showreels": [ "https://youtube.com/john-doe/video" ], "showreels": [ { "name": "My Showreel", "url": "https://www.filmmakers.eu/crew/john-doe/showreels/15", "type": "video" } ], "showreel_ids": [12345], "showreel_medium_ids": [123456], "vita": { "film": [ { "name": "Sample Film", "year_from": 2019, "year_to": 2019 } ], "television": [], "theatre": [], "award": [] }, "locations": [ { "name": "Berlin", "latitude": 52.52000659999999, "longitude": 13.404954, "place_id": "ChIJAVkDPzdOqEcRcDteW0YgIQQ", "type": "place", "country": "DE" }, { "name": "Cologne", "latitude": 50.937531, "longitude": 6.9602786, "place_id": "ChIJ5S-raZElv0cR8HcqSvxgJwQ", "type": "accommodation", "country": "DE" } ], "homepage_url": "https://www.example.com", "agency_profile_url": "https://www.my-agency/my-profile", "imdb_link": "https://www.imdb.com/name/nm1234", "imdb_id": "nm1234", "facebook_page": "my-facebook-page", "instagram_username": "my-instagram-name", "wikipedia_url": "https://de.wikipedia.org/wiki/my-wikipedia-page", "country": "DE", "state": "DE-RP", "gender": "m", "updated_at": "2021-06-22T16:14:11.519+02:00" } ``` This endpoint retrieves a specific crew profile. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/crew_profiles/` #### URL Parameters | Parameter | Description | |-----------|-------------| | ID | The ID of the crew profile to retrieve | #### Query Parameters | Parameter | Default | Description | |-----------|---------|-------------| | enum | null | If set to `translate`, attributes are translated if possible (e.g., gender will be `male` or `männlich` instead of `m`). Note that arrays and hashes will be joined to strings when translating. | | locale | en | Translates attributes with closed lists. Possible values are: `en`, `de`, `fr`, `it`, `es`, `pl`, `ro`, `ru`, `tr`. Only has an effect if `enum` is set to `translate`. | #### Response Fields The JSON structure will include relevant crew-related fields similar to those shown above. Not all fields are guaranteed to appear in every profile, and additional fields may be added without notice. Important fields include: - **id**: Unique ID of the crew profile - **first_name**, **last_name**, **name**: Strings representing the person's name - **gender**: `m`, `f`, or `i` in the default form; can be expanded/translated if `enum=translate` is set - **professions**: Array of strings indicating the crew member’s areas of expertise (e.g., `["regie", "autor", "kamera"]`) - **languages**: JSON object, e.g., `{ "deutsch": "muttersprachlich" }` - **representative**: JSON object with `id` and `name` of the representing agent - **talent_agency_id**: ID of the primary talent agency representing the crew member - **pictures**: Array of JSON objects with information about each uploaded picture - **showreels**, **showreel_ids**, **showreel_medium_ids**: Showreels connected to the profile - **vita**: Structured data about film/theatre/TV credits, awards, etc. - **country**, **state**: Country and state codes (or translated values if `enum=translate` is used) - **locations**: Array of places of residence (type: `place`) and housing options (type: `accommodation`). Places of residence are sorted on top. #### Picture Order | Field | Type | Description | |-------|------|-------------| | position | number | The normal picture order. It matches the order in which `pictures` is returned. | --- ## Talent Agencies ### Get Talent Agency Data **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/talent_agencies/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/talent_agencies/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' talent_agency_id = '{id}' # Replace with the actual talent agency ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/talent_agencies/#{talent_agency_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the talent agency you want to retrieve. ###### Example Response ```json { "id": 1, "name": "Example agency", "short_name": "Agency", "homepage_url": "https://www.example.com", "filmmakers_url": "https://www.filmmakers.eu/agents/example-agency", "imdb_link": "https://pro.imdb.com/company/co0000001", "imdb_id": "co0000001", "showreel_url": "https://www.example.com/showreel", "facebook_page": "my-facebook-page", "instagram_username": "myinstaprofile", "public_email": "info@example.com", "picture_url": "https://imgproxy.filmmakers.eu/bf042068-c6ac-11ee-b970-a34dadd10171.jpg", "address": { "city": "Mainz", "country": "DE", "fax": null, "line1": "Wallstr. 11", "line2": "", "phone": "49613163691950", "zipcode": "55122" }, "employees": [ { "id": 1, "first_name": "John", "last_name": "Doe", "phone": "49613163691950", "email": "agent@example.com", "role": "agent", "function": null, "instagram_username": "mypersonalprofile", "imdb_link": "https://www.imdb.com/name/nm1234567", "picture_url": "https://imgproxy.filmmakers.eu/bfa9eb4c-c6ac-11ee-9015-f30db07efa43.jpg", "about_me": "This is a text about me", "about_me_html": "
This is a text about me
" } ], "associations": [ "vda" ], "about_me": "A text about our agency.", "about_me_html": "
A text about our agency.
" } ``` This endpoint retrieves a specific talent agency. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/talent_agencies/` #### URL Parameters Parameter | Description --------- | ----------- ID | The ID of the talent agency to retrieve #### Response Fields | Field | Type | Description | |-------|------|-------------| | associations | array of strings | Possible values are: `pma`, `sfaal`, `vda` | | about_me | string | Returned as plain text (stripped of any rich text formatting). This field is localized. If the `locale` query parameter is not provided, the API attempts to return the English (`en`) version of `about_me`. To request the `about_me` text in a specific language, use the `locale` query parameter (e.g., `?locale=de`). If the `about_me` content for the requested locale is not available, it will return null. | | about_me_html | string | Returns an HTML version of `about_me` with **HTML markup**. Content is automatically sanitized. Allowed HTML tags include `a, b, br, div, em, h1, h2, h3, img, li, ol, p, strong, ul` and others. | | employees[].about_me | string |Returned as plain text (stripped of any rich text formatting). This field is localized. If the `locale` query parameter is not provided, the API attempts to return the English (`en`) version of `about_me`. To request the `about_me` text in a specific language, use the `locale` query parameter (e.g., `?locale=de`). If the `about_me` content for the requested locale is not available, it will return null.| See the example response above for an overview of included fields. --- ## Blog Posts ### Get All Blog Posts **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/blog_posts" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/blog_posts', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key uri = URI('https://www.filmmakers.eu/api/v1/blog_posts') request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ###### Example Response ```json [ { "id": 36, "title": "Blog post title", "blog_id": 1, "tags": [{ "id": 2, "name": "News" }], "mentions": [{ "mentionable_type": "ActorProfile", "mentionable_id": 789 }] }, { "id": 35, "title": "Blog post title", "blog_id": 1, "tags": [{ "id": 3, "name": "Awards" }], "mentions": [] } ] ``` This endpoint retrieves all blog posts available with the access rights of the API key. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/blog_posts` #### Query Parameters Parameter | Default | Description --------- | ------- | ----------- blog_id | id | Limit blog posts to a specific blog ID (e.g., `blog_id` from actor profile) page | 1 | Page to display – see "Pagination" section per_page | 250 | Items per page – see "Pagination" section tags[id] | null | Filter items by tags – allows passing multiple tag IDs using array form of the parameter, e.g., `tags[id][]=1&tags[id][]=5` actor_profiles[id] | null | Filter by IDs of actor profiles who have been mentioned in blog posts – allows passing multiple actor profile IDs using array form of the parameter, e.g., `actor_profiles[id][]=7&actor_profiles[id][]=9` #### Response Fields Field | Type | Description --------- | ------- | ----------- id | number | Unique ID of the blog post blog_id | number | Unique ID of the blog the post belongs to title | string | Title of the blog post tags | array of objects | Includes ID and name of the associated tags mentions | array of objects | Includes type and ID of the mentioned object ### Get a Specific Blog Post **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/blog_posts/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/blog_posts/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' blog_post_id = '{id}' # Replace with the actual blog post ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/blog_posts/#{blog_post_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the blog post you want to retrieve. ###### Example Response ```json { "id": 123, "title": "Blog post title", "note": "Blog post note", "publication_date": "2019-09-02T12:44:19.776+02:00", "source": null, "tags": [ { "id": 3, "name": "News" }, { "id": 4, "name": "Premiere" } ], "body": "Blog post body", "body_html": "
Blog post body
© Acme inc
", "images": [ { "url": "https://imgproxy.filmmakers.eu/83570365-9d0f-4165-85c6-df1dd48adb1f.jpg", "copyright": "Acme inc" }, { "url": "https://imgproxy.filmmakers.eu/83570365-9d0f-4165-85c6-df1dd48adb1f.jpg", "copyright": "Abc inc" } ], "mentions": [ { "mentionable_type": "ActorProfile", "mentionable_id": 789 } ] } ``` This endpoint retrieves a specific blog post. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/blog_posts/` #### URL Parameters Parameter | Description --------- | ----------- ID | The ID of the blog post to retrieve #### Response Fields See the example response above for an overview of included fields. Field | Type | Description --------- | ------- | ----------- title | string | Title of the blog post note | string | Optional comment on the post body | string | Plain text representation of the blog post body with line breaks, **but no HTML markup** body_html | string | Blog post body with **HTML markup**, includes images with copyright information. Content is automatically sanitized. Allowed HTML tags are `a, br, div, em, figcaption, figure, h1, img, li, ol, strong, ul`. Example CSS to show copyright over the image at the top left corner: `.image-wrapper { position: relative; } .image-caption { position: absolute; top: 0; left: 0; z-index: 1; }` publication_date | datetime | Publication date of this post source | string | Original source of the post – e.g., a newspaper in case an article was shared from an external URL. Will be null in case of internal posts, i.e., posts written by the entity themselves. source.url | string | URL of the source article source.publication_date | datetime | Date of publication of original (may be null if source date cannot be determined) tags | array | Array of tags applied to the blog post, each containing two key-value pairs: "id" and "name". Available tag names are: "News", "Premiere", "Awards", and "Press" images[].url | string | Image URL images[].cover | boolean | True if image is a cover image; default: `false` images[].copyright | string | Image copyright mentions | array | Array of objects mentioned in the blog post, e.g., actor profiles. Contains the `mentionable_type` of the related object and `mentionable_id`. --- ## Showreels ### Get a Specific Showreel **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/showreels/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/showreels/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' showreel_id = '{id}' # Replace with the actual showreel ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/showreels/#{showreel_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the showreel you want to retrieve. ###### Example Response ```json { "id": 100, "showreel_type": "video", "name": "Showreel 2024", "position": 1, "poster_copyright": "Photographer XYZ", "download": true, "showreel_medium_ids": [ 123456, 123457, 123458, 123459, 123460 ], "poster": "https://imgproxy.filmmakers.eu/8f7c74be-c696-11ee-85a8-4781e0bae8b1.jpg" } ``` This endpoint retrieves a specific showreel. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/showreels/` #### URL Parameters Parameter | Description --------- | ----------- ID | The ID of the showreel to retrieve (refer to the `showreel_ids` array field from the actor profiles endpoint to obtain these IDs) #### Response Fields See the example response above for an overview of included fields. Field | Type | Description --------- | ------- | ----------- id | integer | ID of the showreel showreel_type | string | Either `video` or `audio` name | string | Name of the showreel position | integer | The position of the showreel on Filmmakers poster | string | Image URL to the showreel poster/thumbnail poster_copyright | string | Copyright for the showreel poster/thumbnail download | boolean | Whether the download option is active on Filmmakers showreel_medium_ids | array | IDs of showreel media contained in the showreel (see `showreel_media` endpoint below) --- ## Showreel Media ### Get Specific Showreel Media **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/showreel_media/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/showreel_media/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' showreel_media_id = '{id}' # Replace with the actual showreel media ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/showreel_media/#{showreel_media_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the showreel media you want to retrieve. ###### Example Response ```json { "id": 123456, "type": "ShowreelVideo", "name": "Faking Bullshit", "director": "Alexander Schubert", "role": "Rocky", "year": 2019, "download": true, "duration": "171.6", "skills": [ "languages/deutsch" ], "vita_entry_id": 300, "skill": "languages/deutsch", "picture": "https://imgproxy.filmmakers.eu/8f7c74be-c696-11ee-85a8-4781e0bae8b1.jpg", "asset": null, "proxies": { "sd": "https://static.filmmakers.eu/production/0fd099dc-c698-11ee-93cb-cb381089a4e7.mp4", "hd": "https://static.filmmakers.eu/production/107a9e6e-c698-11ee-8895-f34d7095f1f5.mp4", "full_hd": "https://static.filmmakers.eu/production/109d0832-c698-11ee-b7b8-fb95fd1a375c.mp4" } } ``` This endpoint retrieves specific showreel media. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/showreel_media/` #### URL Parameters Parameter | Description --------- | ----------- ID | The ID of the showreel media to retrieve (refer to the `showreel_medium_ids` array field from the showreels endpoint to obtain these IDs) #### Response Fields See the example response above for an overview of included fields. Field | Type | Description --------- | ------- | ----------- id | integer | ID of the video or audio type | string | Either `ShowreelVideo` (for videos) or `ShowreelAudio` (for audios) name | string | Name of the video or audio director | string | Name of the director linked to the medium (if any) role | string | Name of the role linked to the medium (if any) year | integer | Year of the medium (if any) download | boolean | Whether the download option is active on Filmmakers duration | float | Duration in seconds skills | array | Links to skills from actor profile attributes, in the format of `NAME#VALUE`, e.g., `languages#deutsch` or `dialects#berlinerisch` skill | string | Deprecated, please use `skills` vita_entry_id | integer | ID of vita entry (credit) if any picture | string | Image URL to the thumbnail asset | string | Only filled in for type `ShowreelAudio`, may contain codecs `AAC` or `MP3` proxies | array | For the type `ShowreelVideo`, provides links to transcoded proxies in MP4 format (H.264). These proxies may include the following quality options: - **sd**: 480p - **hd**: 720p - **full_hd**: 1080p Note that depending on the quality of the source file, `full_hd` and/or `hd` might not be available. Additionally, there might be two legacy proxies: - **web_quality**: Roughly equivalent to 720p - **portrait**: Media in portrait mode --- ## Messages ::::caution The Messages API is in beta/early preview and may undergo changes. If you are interested in using them, please contact our support. :::: The Messages endpoint allows you to retrieve messages such as casting invitations and notifications sent via the Filmmakers platform. ### Get All Messages **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/messages" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/messages', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key uri = URI('https://www.filmmakers.eu/api/v1/messages') request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ##### Example Response ```json [ { "id": 1320154, "subject": "Notification: Project Sunrise" }, { "id": 1320153, "subject": "Notification: The Reality" }, { "id": 1320152, "subject": "Notification: Sunflowers for Happiness" }, { "id": 1320151, "subject": "Notification: Sunrise on the Reaping" } ] ``` This endpoint retrieves all messages available with the access rights of the API key. Each object contains the unique ID and subject of the message. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/messages` #### Query Parameters Parameter | Default | Description --------- | ------- | ----------- page | 1 | Page to display – see "Pagination" section per_page | 250 | Items per page – see "Pagination" section fields | subject | Can be used to limit the fields included in the response. Possible values are: `subject`, `message_type`, `body`, `sender_name`. Multiple fields can be specified as a comma-separated list. #### Response Fields Field | Type | Description ----- | ---- | ----------- id | integer | Unique ID of the message subject | string | Subject of the message --- ### Get a Specific Message **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/messages/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript // Replace {id} with the actual message ID fetch('https://www.filmmakers.eu/api/v1/messages/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' message_id = '{id}' # Replace {id} with the actual message ID api_key = 'API_KEY' # Replace with your actual API key uri = URI("https://www.filmmakers.eu/api/v1/messages/#{message_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the message you want to retrieve. ##### Example Response ```json { "id": 1320154, "subject": "Notification: New Project Update", "body": "Message content here...", "message_id": "abc123xyz@cd.filmmakers.eu", "message_type": "project_notification", "filmmakers_url": "https://www.filmmakers.eu/messages/1320154", "created_at": "2025-03-24T11:59:30.696+01:00", "updated_at": "2025-03-24T11:59:30.696+01:00", "in_reply_to_id": null, "metadata": { "production_id": 999, "casting_call_id": 111 }, "sender": { "messageable_type": "CastingSystem::Entity", "messageable_id": 241, "name": "Sunrise Productions" }, "primary_recipients": [ { "messageable_type": "TalentAgency", "messageable_id": 25 } ] } ``` This endpoint retrieves a specific message by its ID, including all details and metadata. ::::note `filmmakers_url` points to the Filmmakers web page for the message. It does not grant access by itself: the user must be authenticated and authorized on Filmmakers before the page can be opened. Use it as an authenticated redirect target, for example as the `redirect_to` payload in an SSO login flow. :::: #### HTTP Request `GET https://www.filmmakers.eu/api/v1/messages/{id}` Replace `{id}` with the ID of the message you want to retrieve. #### Response Fields Field | Type | Description ----- | ---- | ----------- id | integer | Unique ID of the message subject | string | Subject of the message body | string | Message body (may contain HTML) message_id | string | Unique message identifier message_type | string | Type of message (e.g., `casting_invitation`) filmmakers_url | string | Authenticated Filmmakers web URL for the message. The URL does not grant access by itself; use it for authenticated and authorized users, for example as an SSO `redirect_to` target. created_at | datetime | Creation timestamp updated_at | datetime | Last update timestamp in_reply_to_id | integer or null | ID of the message this is in reply to, if any metadata | object | Additional metadata (e.g., `production_id`, `casting_call_id`) sender | object | Sender information (type, ID, name) primary_recipients | array | List of primary recipients (type, ID) --- ## Casting Calls ::::caution The Casting Calls API is in beta/early preview and may undergo changes. If you are interested in using them, please contact our support. :::: The Casting Calls endpoint allows you to retrieve information about casting calls, including details about the production, roles, deadlines, and requirements. ### Get All Casting Calls **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/casting_calls" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript fetch('https://www.filmmakers.eu/api/v1/casting_calls', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key uri = URI('https://www.filmmakers.eu/api/v1/casting_calls') request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` ###### Example Response ```json [ { "id": 549, "name": "Project Sunrise" }, { "id": 548, "name": "The Reality" }, { "id": 547, "name": "Sunflowers for Happiness" }, { "id": 546, "name": "Breakdown #4 Sunrise on the Reaping" } ] ``` This endpoint retrieves all casting calls available with the access rights of the API key. Each object contains the unique ID and name of the casting call. #### HTTP Request `GET https://www.filmmakers.eu/api/v1/casting_calls` #### Query Parameters Parameter | Default | Description --------- | ------- | ----------- page | 1 | Page to display – see "Pagination" section per_page | 250 | Items per page – see "Pagination" section current | false | Set to `true` or `1` to return only casting calls with a current opportunity visible to your API key. Omit this parameter, or pass an empty value, `false`, or `0`, to include both current and expired casting calls. fields | name | Can be used to limit the fields included in the response. Possible values are: `name`, `casting_type`, `description`, `production_format`, `deadline`, `deadline_visible`. Multiple fields can be specified as a comma-separated list. #### Current Casting Calls To retrieve only current casting calls: ```shell curl "https://www.filmmakers.eu/api/v1/casting_calls?current=true" \ -H "Authorization: Token token=API_KEY" ``` The filter uses the same deadline rules as the website's casting opportunities. A casting call is current when at least one active, non-deleted role visible to your API key has no effective deadline or has a deadline at or after the current time. A role's own deadline takes precedence over the casting call's deadline; if the role has no deadline, it inherits the casting call's deadline. If there are no active, non-deleted roles visible to your API key, the casting call's deadline determines whether it is current. For example, a casting call with an expired overall deadline is still included if a visible active role remains open. Conversely, a future overall deadline does not qualify a casting call whose visible active roles have all expired. For private castings, roles you were not invited to do not affect the result. Deadlines marked as hidden are still used for filtering visible opportunities. Each qualifying casting call appears once, and results remain limited to the API key's existing access rights. #### Response Fields Field | Type | Description ----- | ---- | ----------- id | integer | Unique ID of the casting call name | string | Name of the casting call --- ### Get a Specific Casting Call **cURL** ```shell curl "https://www.filmmakers.eu/api/v1/casting_calls/{id}" \ -H "Authorization: Token token=API_KEY" ``` **JavaScript (Fetch)** ```javascript // Replace {id} with the actual casting call ID fetch('https://www.filmmakers.eu/api/v1/casting_calls/{id}', { method: 'GET', headers: { 'Authorization': 'Token token=API_KEY', 'Content-Type': 'application/json' } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` **PHP (cURL)** ```php ``` **Ruby (Net::HTTP)** ```ruby require 'net/http' require 'json' api_key = 'API_KEY' # Replace with your actual API key casting_call_id = '{id}' # Replace {id} with the actual casting call ID uri = URI("https://www.filmmakers.eu/api/v1/casting_calls/#{casting_call_id}") request = Net::HTTP::Get.new(uri) request['Authorization'] = "Token token=#{api_key}" response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request) end data = JSON.parse(response.body) puts data ``` Replace `{id}` with the ID of the casting call you want to retrieve. ###### Example Response ```json { "id": 549, "name": "Project Sunrise - 'Jordan' (lead role)", "description": "A coming-of-age drama about resilience and hope.", "deadline": "2025-02-25T12:04:00.000+01:00", "visibility": "public", "deadline_visible": true, "production_format": null, "casting_type": "ecasting", "production_id": 123, "working_permits": [], "regions": ["dach"], "casting_director": { "id": 123, "name": "Caster ABC" }, "production_locations": [ { "name": "Berlin", "country": "DE", "longitude": 13.404954, "latitude": 52.5200066 } ], "filmmakers_url": "https://www.filmmakers.eu/casting_calls/549", "created_at": "2025-02-18T13:05:24.865+01:00", "updated_at": "2025-02-18T13:05:24.865+01:00", "roles": [ { "id": 750, "name": "Jordan", "description": "A determined teenager facing new challenges.", "contract_type": 100004, "contract_type_info": "

Negotiated fee and usage terms.

", "deadline": "2025-02-25T12:04:00.000+01:00", "gender": ["female"], "acting_age_from": 15, "acting_age_to": 18, "languages": { "eng": "gut" }, "ethnic_background": [6468, 6471], "ethnic_background_details": [], "created_at": "2025-02-18T13:05:24.865+01:00", "updated_at": "2025-02-18T13:05:24.865+01:00" } ] } ``` This endpoint retrieves a specific casting call by its ID, including all production details and available roles. ::::note `filmmakers_url` points to the Filmmakers web page for the casting call. It does not grant access by itself: the user must be authenticated and authorized on Filmmakers before the page can be opened. Use it as an authenticated redirect target, for example as the `redirect_to` payload in an SSO login flow. :::: #### HTTP Request `GET https://www.filmmakers.eu/api/v1/casting_calls/{id}` Replace `{id}` with the ID of the casting call you want to retrieve. #### Response Fields Field | Type | Description ----- | ---- | ----------- id | integer | Unique ID of the casting call name | string | Name of the casting call description | string | Description of the casting call deadline | datetime | Application deadline visibility | string | Visibility of the casting call: `public` or `private` deadline_visible | boolean | Whether the deadline is visible production_format | string or null | Format of the production casting_type | string | Type of casting: `breakdown`, `ecasting` (Self Tape Request), `studio_casting` (scheduled audition at a site) production_id | integer | ID of the related production working_permits | array | Required working permits regions | array | Regions relevant to the casting call casting_director | object | Casting director associated with the casting call production_locations | array | Locations where the production takes place filmmakers_url | string | Authenticated Filmmakers web URL for the casting call. The URL does not grant access by itself; use it for authenticated and authorized users, for example as an SSO `redirect_to` target. created_at | datetime | Creation timestamp updated_at | datetime | Last update timestamp roles | array | List of roles available in the casting call ##### Casting Director Object Fields Field | Type | Description ----- | ---- | ----------- id | integer | Unique Filmmakers ID of the casting director entity name | string | Name of the casting director ##### Production Location Object Fields Field | Type | Description ----- | ---- | ----------- name | string | Name of the location country | string | ISO 3166-1 alpha-2 country code longitude | number | Longitude of the location latitude | number | Latitude of the location ##### Role Object Fields Field | Type | Description ----- | ---- | ----------- id | integer | Unique ID of the role name | string | Name of the role description | string | Description of the role contract_type | integer or null | Contract type identifier that applies to the role. Labels are available from the [`contract_types` catalogue](/attributes#contract-types-catalogue). contract_type_info | string or null | Additional contract information for the role; may contain HTML deadline | datetime | Application deadline for the role gender | array | Accepted genders for the role acting_age_from | integer | Minimum acting age acting_age_to | integer | Maximum acting age languages | object | Required languages and proficiency ethnic_background | array | Required ethnic backgrounds ethnic_background_details | array | Additional ethnic background details created_at | datetime | Creation timestamp updated_at | datetime | Last update timestamp --- ## Changelog - (2026-09-23) **CastingCalls#index**: Added the optional `current=true` filter to return casting calls with a current opportunity visible to the API key, including role-specific deadlines. - (2026-08-07) **ActorProfiles#show/Attributes#show**: Added optional month precision and qualification fields for primary and other professional training, plus the localized qualification catalogue. - (2026-07-31) **ActorProfiles#show**: Added `main_picture_portrait` to picture objects. - (2026-07-24) **CastingCalls#show**: Added the `casting_director` object with the casting director's Filmmakers `id` and `name`. - (2026-07-23) **CastingCalls#show/Attributes#show**: Added integer `contract_type` identifiers and `contract_type_info` to casting-call roles, plus the localized `contract_types` catalogue. - (2026-07-08) **ActorProfiles#show**: Added `position`, `landscape_position`, and `portrait_position` to picture objects. - (2026-05-21) **Messages#show**: Added `filmmakers_url`, an authenticated Filmmakers web URL intended for authorized redirects such as SSO `redirect_to` payloads. - (2026-05-21) **CastingCalls#show**: Added `filmmakers_url`, an authenticated Filmmakers web URL intended for authorized redirects such as SSO `redirect_to` payloads. - (2025-12-18) **CrewProfiles#show**: Add new field `locations` - (2025-11-19) **ActorProfiles#show**: Add `country` code to `locations` - (2025-07-15) **ActorProfiles#show/CrewProfiles#show/TalentAgencies#show**: Add new field `about_me_html` - (2025-06-04) **ActorProfiles#index/CrewProfiles#index**: Add new parameter `direction` - (2025-06-03) **ActorProfiles#show**: Add new field `talent_agency_connections[].regions` - (2025-06-03) **TalentAgencies#show**: Add new field `about_me` - (2025-05-28) **TalentAgencies#show**: Add new employee fields `function`, `instagram_username`, `imdb_link` and `about_me` - (2025-04-01) **TalentAgencies#show**: Added new fields `facebook_page` and `instagram_username`. - (2025-03-18) **CrewProfiles#index**: Allowed filtering crew profiles by `professions` array. - (2025-03-17) **CrewProfiles#show**: Added web presence fields `imdb_link`, `imdb_id`, `facebook_page`, `instagram_username`, `wikipedia_url`. - (2025-03-17) **TalentAgencies#show**: Added new field `associations`. - (2025-03-10) **BlogPosts#index/BlogPosts#show**: Added new field `mentions`; added possibility to filter blog posts by mentioned actor profiles. - (2025-03-10) **ActorProfiles#show**: Added new field `mentioned_in_blog_post_ids`. - (2025-02-25) **CrewProfiles#show**: Added new field `about_me`. - (2025-02-13) **ActorProfile#index**: Added new filters for `acting_age` & `languages`. - (2025-02-08) **ActorProfiles#show/TalentAgencies#show**: Deprecated `twitter_handle`. This will be removed in a future API version. - (2024-11-14) **ActorProfile#show**: Added new fields `working_permits` and `attribute_visibility.working_permits`. - (2024-10-29) **ActorProfile#show**: Added `:thumb_large` 500x500 profile picture option. - (2024-10-28) **API**: Optional OAuth Authorization added to all endpoints. - (2024-09-26) **ActorProfile#show**: Added new fields `ethnic_background`, `ethnic_background_details`, and `ethnic_background_description`. - (2024-08-16) **ActorProfile#show**: Exposed `talent_agency_connections`, which includes more details about the agency connections of a profile. - (2024-07-01) **ActorProfile#show**: Added new field `gender_description`. - (2024-05-20) **ActorProfile#show**: Added new field `gender_searchability`. - (2024-05-16) **ActorProfile#index**: Added new field `gender_new`, which replaces 'diverse' value with a larger range of gender values. - (2024-04-26) **ActorProfile#show**: Added new field `in_development` to Vita. - (2024-04-12) **ActorProfile#show**: Added new fields `main_profession` and `specializations`. - (2024-03-19) **ActorProfile#show**: Added new field `episode_name` to Vita. - (2023-08-17) **ActorProfile#index**: Added possibility to filter by `updated_at`. - (2023-05-31) **ActorProfile#index**: - Also emit `picture_copyright` if `include_picture` is specified. - Added query field `representative`. - (2023-04-26) **ActorProfile#show**: Added `filmmakers_url` and `filmmakers_cd_url` (formerly `castupload_url` and `castupload_professional_url`). - (2022-12-06) **ActorProfile#show**: Added `unions`. - (2022-09-09) **ActorProfile#index**: Added `updated_at` as selectable field. - (2022-01-26) **ActorProfile#show**: Added `pitches`, `figures`, `native_dialects`, `sport_skills`, `special_skills`. - (2022-01-12) **ActorProfile#show**: Added new fields `station` / `theatre` / `writer` to Vita.