{"openapi":"3.1.0","info":{"title":"SocialRouter API","version":"2.0.0","description":"One endpoint per service, under the namespace its subject belongs to: POST /v1/extract/{platform}/{service} reads a social network, POST /v1/enrich/{entity} answers about a person or a company. Offers of a service are interchangeable (fixed contract, substitutable provider); the router fails over between them and the response names the offer that served (`served_by`).\n\n## Versioning\n\nThe major version is in the URL path (`/v1/…`) and is the only versioning surface: no header, no date pin, no query parameter. Inside a major version the contract only grows — new services, new offers, new optional request fields and new response fields may appear at any time, so parse responses tolerantly and ignore keys you do not know. Removing a field, renaming one, changing a type, or narrowing what a request accepts requires a new major path (`/v2/…`); the two run side by side while a version is being retired.\n\n## Deprecation\n\nA deprecated endpoint keeps working and starts announcing its retirement on every response: `Deprecation: true` (RFC 9745) from the moment it is announced, and `Sunset: <HTTP-date>` (RFC 8594) naming the date it stops answering, never sooner than 90 days out. A `Link` header with `rel=\"successor-version\"` points at what replaces it. A moved endpoint answers 404 with `error.code: \"endpoint_moved\"` and the new path in `error.endpoint`, so a client that missed the notice still gets told where the service went. Nothing is removed without that sequence.\n\n## Rate limits\n\nRequest volume is limited per API key, and per IP for the unauthenticated catalogue routes. When a policy is configured every response carries `RateLimit-Policy` (RFC 9331 form, e.g. `\"default\";q=100;w=60`) and a live `RateLimit` with the remaining count for the current window. Account limits — credits and per-key ceilings — answer 429 with an `error.code` that says which, and an upstream rate limit adds `Retry-After`."},"servers":[{"url":"https://api.socialrouter.io","description":"Production. The major version is part of each path (`/v1/…`)."}],"paths":{"/v1/extract/linkedin/profile.posts":{"post":{"operationId":"run_linkedin_profile_posts","summary":"linkedin/profile.posts","description":"Run linkedin/profile.posts (url-kind). Offers in failover order: apify/apimaestro ($0.007705/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/in/<handle>","example":["https://www.linkedin.com/in/williamhgates"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/in/<handle>","example":"https://www.linkedin.com/in/williamhgates"},"provider":{"type":"string","enum":["apify/apimaestro"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/post.likes":{"post":{"operationId":"run_linkedin_post_likes","summary":"linkedin/post.likes","description":"Run linkedin/post.likes (url-kind). Offers in failover order: apify/apimaestro ($0.0069/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/posts/<slug>-activity-<id>-<suffix>. The URL must contain the numeric activity ID. | <activity_id> (raw numeric ID)","example":["https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/posts/<slug>-activity-<id>-<suffix>. The URL must contain the numeric activity ID. | <activity_id> (raw numeric ID)","example":"https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd"},"provider":{"type":"string","enum":["apify/apimaestro"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/profile.info":{"post":{"operationId":"run_linkedin_profile_info","summary":"linkedin/profile.info","description":"Run linkedin/profile.info (url-kind). Offers in failover order: brightdata/linkedin ($0.001725/record, max 1000 inputs), apify/apimaestro ($0.0069/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/in/<handle>","example":["https://www.linkedin.com/in/williamhgates"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/in/<handle>","example":"https://www.linkedin.com/in/williamhgates"},"provider":{"type":"string","enum":["brightdata/linkedin","apify/apimaestro"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"includeEmail":{"description":"Include the public email lookup.","default":true,"type":"boolean"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/post.search":{"post":{"operationId":"run_linkedin_post_search","summary":"linkedin/post.search","description":"Run linkedin/post.search (query-kind). Offers in failover order: apify/harvestapi ($0.00276/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text search query, as you would type it in the LinkedIn search bar (Boolean operators supported, 85 characters max)","example":["hiring software engineer"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text search query, as you would type it in the LinkedIn search bar (Boolean operators supported, 85 characters max)","example":"hiring software engineer"},"provider":{"type":"string","enum":["apify/harvestapi"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/post.comments":{"post":{"operationId":"run_linkedin_post_comments","summary":"linkedin/post.comments","description":"Run linkedin/post.comments (url-kind). Offers in failover order: apify/harvestapi ($0.00276/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/posts/<slug>. A single-comment permalink (the URL carrying ?commentUrn=…) is accepted too.","example":["https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/posts/<slug>. A single-comment permalink (the URL carrying ?commentUrn=…) is accepted too.","example":"https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd"},"provider":{"type":"string","enum":["apify/harvestapi"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"postedLimit":{"description":"Only return comments posted within this window.","type":"string","enum":["any","24h","week","month","3months","6months","year"]}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/company.search":{"post":{"operationId":"run_linkedin_company_search","summary":"linkedin/company.search","description":"Run linkedin/company.search (query-kind). Offers in failover order: apify/apimaestro ($0.0069/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Keywords or a company name, as you would type it in LinkedIn's company search","example":["fintech"]},"query":{"type":"string","description":"Single-input form of 'queries'. Keywords or a company name, as you would type it in LinkedIn's company search","example":"fintech"},"provider":{"type":"string","enum":["apify/apimaestro"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"page":{"description":"Result page to read (up to 50 companies per page).","default":1,"type":"number"},"locationIds":{"description":"Comma-separated LinkedIn geo ids to restrict the search to, e.g. \"103644278,106693272\".","type":"string"},"industryIds":{"description":"Comma-separated LinkedIn industry ids, e.g. \"6,4\".","type":"string"},"companySizes":{"description":"Comma-separated headcount buckets: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10,000, 10,001+.","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/company.employees":{"post":{"operationId":"run_linkedin_company_employees","summary":"linkedin/company.employees","description":"Run linkedin/company.employees (url-kind). Offers in failover order: apify/apimaestro ($0.0138/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/company/<slug>. One company per call.","example":["https://www.linkedin.com/company/microsoft"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/company/<slug>. One company per call.","example":"https://www.linkedin.com/company/microsoft"},"provider":{"type":"string","enum":["apify/apimaestro"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"searchQuery":{"description":"Free-text query matched against employee profiles (300 characters max).","type":"string"},"jobTitles":{"description":"Comma-separated current job titles to keep, e.g. \"Software Engineer,Product Manager\".","type":"string"},"pastJobTitles":{"description":"Comma-separated past job titles to keep, e.g. \"Software Engineer\".","type":"string"},"locations":{"description":"Comma-separated LinkedIn locations, e.g. \"San Francisco,Paris\". Use full names: \"UK\" resolves to Ukraine, \"United Kingdom\" to the UK.","type":"string"},"schools":{"description":"Comma-separated schools attended, e.g. \"Stanford University\".","type":"string"},"seniorityLevelIds":{"description":"Comma-separated seniority ids: 100 In Training, 110 Entry Level, 120 Senior, 130 Strategic, 200 Entry Level Manager, 210 Experienced Manager, 220 Director, 300 Vice President, 310 CXO, 320 Owner / Partner.","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/googlemaps/place.search":{"post":{"operationId":"run_googlemaps_place_search","summary":"googlemaps/place.search","description":"Run googlemaps/place.search (query-kind). Offers in failover order: apify/compass ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["googlemaps"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text search query, as you would type it in Google Maps","example":["best pizza in Brooklyn, NY"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text search query, as you would type it in Google Maps","example":"best pizza in Brooklyn, NY"},"provider":{"type":"string","enum":["apify/compass"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"language":{"description":"Language for the search query and the returned place data, as a two-letter code, e.g. \"fr\", \"de\", \"es\". Google Maps localizes both the ranking and the text fields (category, address, opening-hours labels) to it. Defaults to \"en\".","default":"en","type":"string"},"countryCode":{"description":"Restrict the search to one country, as a lowercase two-letter code, e.g. \"us\", \"fr\", \"gb\". The coarse geographic scope — combine with city/state for a tighter area.","type":"string"},"city":{"description":"City to focus the search on, as free text, e.g. \"Brooklyn\". Best combined with countryCode.","type":"string"},"state":{"description":"State / region to focus the search on, as free text, e.g. \"New York\".","type":"string"},"county":{"description":"County to focus the search on, as free text, e.g. \"Kings County\".","type":"string"},"postalCode":{"description":"Postal / ZIP code to focus the search on, e.g. \"11201\". The actor only honours it together with countryCode and city, and only for a single search term.","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/googlemaps/place.info":{"post":{"operationId":"run_googlemaps_place_info","summary":"googlemaps/place.info","description":"Run googlemaps/place.info (url-kind). Offers in failover order: brightdata/googlemaps ($0.001725/record, max 1000 inputs), apify/compass ($0.00828/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["googlemaps"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.google.com/maps/place/<name>/... | <place_id> (Google Place ID)","example":["https://www.google.com/maps/place/Eiffel+Tower/@48.8583701,2.2919064,17z"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.google.com/maps/place/<name>/... | <place_id> (Google Place ID)","example":"https://www.google.com/maps/place/Eiffel+Tower/@48.8583701,2.2919064,17z"},"provider":{"type":"string","enum":["brightdata/googlemaps","apify/compass"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/googlemaps/place.reviews":{"post":{"operationId":"run_googlemaps_place_reviews","summary":"googlemaps/place.reviews","description":"Run googlemaps/place.reviews (url-kind). Offers in failover order: apify/compass ($0.000828/record, max 100 inputs), brightdata/googlemaps ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["googlemaps"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.google.com/maps/place/<name>/...","example":["https://www.google.com/maps/place/Eiffel+Tower/@48.8583701,2.2919064,17z"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.google.com/maps/place/<name>/...","example":"https://www.google.com/maps/place/Eiffel+Tower/@48.8583701,2.2919064,17z"},"provider":{"type":"string","enum":["apify/compass","brightdata/googlemaps"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/video.transcript":{"post":{"operationId":"run_youtube_video_transcript","summary":"youtube/video.transcript","description":"Run youtube/video.transcript (url-kind). Offers in failover order: apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/watch?v=<video_id>. youtu.be and /shorts/ URLs are accepted too.","example":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/watch?v=<video_id>. youtu.be and /shorts/ URLs are accepted too.","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"provider":{"type":"string","enum":["apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/channel.videos":{"post":{"operationId":"run_youtube_channel_videos","summary":"youtube/channel.videos","description":"Run youtube/channel.videos (url-kind). Offers in failover order: apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/@<handle>. /channel/<id>, /c/<name> and /user/<name> URLs are accepted too.","example":["https://www.youtube.com/@mkbhd"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/@<handle>. /channel/<id>, /c/<name> and /user/<name> URLs are accepted too.","example":"https://www.youtube.com/@mkbhd"},"provider":{"type":"string","enum":["apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"sortVideosBy":{"description":"Order of the channel's videos (e.g. NEWEST, POPULAR, OLDEST).","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/channel.shorts":{"post":{"operationId":"run_youtube_channel_shorts","summary":"youtube/channel.shorts","description":"Run youtube/channel.shorts (url-kind). Offers in failover order: apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/@<handle>. /channel/<id>, /c/<name> and /user/<name> URLs are accepted too.","example":["https://www.youtube.com/@mkbhd"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/@<handle>. /channel/<id>, /c/<name> and /user/<name> URLs are accepted too.","example":"https://www.youtube.com/@mkbhd"},"provider":{"type":"string","enum":["apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"sortVideosBy":{"description":"Order of the channel's videos (e.g. NEWEST, POPULAR, OLDEST).","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/playlist.videos":{"post":{"operationId":"run_youtube_playlist_videos","summary":"youtube/playlist.videos","description":"Run youtube/playlist.videos (url-kind). Offers in failover order: apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/playlist?list=<playlist_id>","example":["https://www.youtube.com/playlist?list=PLBCF2DAC6FFB574DE"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/playlist?list=<playlist_id>","example":"https://www.youtube.com/playlist?list=PLBCF2DAC6FFB574DE"},"provider":{"type":"string","enum":["apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/hashtag.videos":{"post":{"operationId":"run_youtube_hashtag_videos","summary":"youtube/hashtag.videos","description":"Run youtube/hashtag.videos (url-kind). Offers in failover order: apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/hashtag/<tag>. A bare #tag (e.g. #ai) is also accepted. Results come from a YouTube search for the tag and can differ slightly from the hashtag page.","example":["https://www.youtube.com/hashtag/ai"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/hashtag/<tag>. A bare #tag (e.g. #ai) is also accepted. Results come from a YouTube search for the tag and can differ slightly from the hashtag page.","example":"https://www.youtube.com/hashtag/ai"},"provider":{"type":"string","enum":["apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"sortingOrder":{"description":"Result ordering, as the YouTube UI names it (e.g. relevance, date, views).","type":"string"},"videoType":{"description":"Restrict to a video type (e.g. video, movie).","type":"string"},"lengthFilter":{"description":"Video length filter (e.g. under4, between420, over20).","type":"string"},"isHD":{"description":"Only HD videos.","type":"boolean"},"hasSubtitles":{"description":"Only videos with subtitles.","type":"boolean"},"hasCC":{"description":"Only Creative Commons videos.","type":"boolean"},"is3D":{"description":"Only 3D videos.","type":"boolean"},"isLive":{"description":"Only live streams.","type":"boolean"},"is4K":{"description":"Only 4K videos.","type":"boolean"},"is360":{"description":"Only 360° videos.","type":"boolean"},"hasLocation":{"description":"Only geotagged videos.","type":"boolean"},"isHDR":{"description":"Only HDR videos.","type":"boolean"},"isVR180":{"description":"Only VR180 videos.","type":"boolean"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/video.info":{"post":{"operationId":"run_youtube_video_info","summary":"youtube/video.info","description":"Run youtube/video.info (url-kind). Offers in failover order: brightdata/youtube ($0.001725/record, max 1000 inputs), apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/watch?v=<video_id>. youtu.be and /shorts/ URLs are accepted too.","example":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/watch?v=<video_id>. youtu.be and /shorts/ URLs are accepted too.","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"provider":{"type":"string","enum":["brightdata/youtube","apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"downloadSubtitles":{"description":"Also fetch the video's subtitles.","default":false,"type":"boolean"},"subtitlesLanguage":{"description":"Subtitle language code, e.g. \"en\".","type":"string"},"preferAutoGeneratedSubtitles":{"description":"Prefer auto-generated subtitles over uploaded ones.","type":"boolean"},"subtitlesFormat":{"description":"Subtitle format (e.g. srt, vtt).","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/channel.info":{"post":{"operationId":"run_youtube_channel_info","summary":"youtube/channel.info","description":"Run youtube/channel.info (url-kind). Offers in failover order: brightdata/youtube ($0.001725/record, max 1000 inputs), apify/streamers ($0.00552/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/@<handle>. /channel/<id>, /c/<name> and /user/<name> URLs are accepted too.","example":["https://www.youtube.com/@mkbhd"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/@<handle>. /channel/<id>, /c/<name> and /user/<name> URLs are accepted too.","example":"https://www.youtube.com/@mkbhd"},"provider":{"type":"string","enum":["brightdata/youtube","apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/video.search":{"post":{"operationId":"run_youtube_video_search","summary":"youtube/video.search","description":"Run youtube/video.search (query-kind). Offers in failover order: apify/streamers ($0.00552/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text search query, as you would type it in the YouTube search bar","example":["machine learning tutorial"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text search query, as you would type it in the YouTube search bar","example":"machine learning tutorial"},"provider":{"type":"string","enum":["apify/streamers"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"sortingOrder":{"description":"Result ordering, as the YouTube UI names it (e.g. relevance, date, views).","type":"string"},"videoType":{"description":"Restrict to a video type (e.g. video, movie).","type":"string"},"lengthFilter":{"description":"Video length filter (e.g. under4, between420, over20).","type":"string"},"isHD":{"description":"Only HD videos.","type":"boolean"},"hasSubtitles":{"description":"Only videos with subtitles.","type":"boolean"},"hasCC":{"description":"Only Creative Commons videos.","type":"boolean"},"is3D":{"description":"Only 3D videos.","type":"boolean"},"isLive":{"description":"Only live streams.","type":"boolean"},"is4K":{"description":"Only 4K videos.","type":"boolean"},"is360":{"description":"Only 360° videos.","type":"boolean"},"hasLocation":{"description":"Only geotagged videos.","type":"boolean"},"isHDR":{"description":"Only HDR videos.","type":"boolean"},"isVR180":{"description":"Only VR180 videos.","type":"boolean"},"dateFilter":{"description":"Upload date filter (e.g. hour, today, week, month, year).","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/reddit/subreddit.posts":{"post":{"operationId":"run_reddit_subreddit_posts","summary":"reddit/subreddit.posts","description":"Run reddit/subreddit.posts (url-kind). Offers in failover order: apify/harshmaur ($0.0069/record, max 10 inputs), apify/trudax ($0.0092/record, max 10 inputs). The response's `served_by` names the offer that actually ran.","tags":["reddit"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.reddit.com/r/<subreddit>. A sort suffix (/hot, /new, /top, /rising) is accepted too. /r/all and /r/popular work.","example":["https://www.reddit.com/r/programming"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.reddit.com/r/<subreddit>. A sort suffix (/hot, /new, /top, /rising) is accepted too. /r/all and /r/popular work.","example":"https://www.reddit.com/r/programming"},"provider":{"type":"string","enum":["apify/harshmaur","apify/trudax"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"sort":{"description":"Listing sort. Overrides a sort suffix present in the URL.","type":"string","enum":["hot","new","top","rising"]},"time":{"description":"Time window, applied when sort is \"top\".","type":"string","enum":["hour","day","week","month","year","all"]},"postedAfter":{"description":"Only posts created on/after this UTC date.","type":"string","format":"date"},"postedBefore":{"description":"Only posts created before this UTC date.","type":"string","format":"date"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/profile.info":{"post":{"operationId":"run_instagram_profile_info","summary":"instagram/profile.info","description":"Run instagram/profile.info (url-kind). Offers in failover order: brightdata/instagram ($0.001725/record, max 1000 inputs), apify/apify ($0.003726/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/<username>","example":["https://www.instagram.com/instagram"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/<username>","example":"https://www.instagram.com/instagram"},"provider":{"type":"string","enum":["brightdata/instagram","apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/profile.posts":{"post":{"operationId":"run_instagram_profile_posts","summary":"instagram/profile.posts","description":"Run instagram/profile.posts (url-kind). Offers in failover order: brightdata/instagram ($0.001725/record, max 1000 inputs), apify/apify ($0.003726/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/<username>","example":["https://www.instagram.com/instagram"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/<username>","example":"https://www.instagram.com/instagram"},"provider":{"type":"string","enum":["brightdata/instagram","apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"onlyPostsNewerThan":{"description":"Only return posts published on or after this UTC date. A relative value works too — \"1 day\", \"2 months\", \"3 years\".","type":"string","format":"date"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/profile.reels":{"post":{"operationId":"run_instagram_profile_reels","summary":"instagram/profile.reels","description":"Run instagram/profile.reels (url-kind). Offers in failover order: apify/apify ($0.003726/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/<username>","example":["https://www.instagram.com/instagram"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/<username>","example":"https://www.instagram.com/instagram"},"provider":{"type":"string","enum":["apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"onlyPostsNewerThan":{"description":"Only return posts published on or after this UTC date. A relative value works too — \"1 day\", \"2 months\", \"3 years\".","type":"string","format":"date"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/profile.mentions":{"post":{"operationId":"run_instagram_profile_mentions","summary":"instagram/profile.mentions","description":"Run instagram/profile.mentions (url-kind). Offers in failover order: apify/apify ($0.003726/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/<username>. The account being mentioned. Records are posts by other accounts.","example":["https://www.instagram.com/instagram"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/<username>. The account being mentioned. Records are posts by other accounts.","example":"https://www.instagram.com/instagram"},"provider":{"type":"string","enum":["apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"onlyPostsNewerThan":{"description":"Only return posts published on or after this UTC date. A relative value works too — \"1 day\", \"2 months\", \"3 years\".","type":"string","format":"date"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/post.comments":{"post":{"operationId":"run_instagram_post_comments","summary":"instagram/post.comments","description":"Run instagram/post.comments (url-kind). Offers in failover order: brightdata/instagram ($0.001725/record, max 1000 inputs), apify/apify ($0.003726/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/p/<shortcode>. Reel URLs (/reel/<shortcode>) are accepted too.","example":["https://www.instagram.com/p/C1aBcDeFgHi/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/p/<shortcode>. Reel URLs (/reel/<shortcode>) are accepted too.","example":"https://www.instagram.com/p/C1aBcDeFgHi/"},"provider":{"type":"string","enum":["brightdata/instagram","apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/profile.search":{"post":{"operationId":"run_instagram_profile_search","summary":"instagram/profile.search","description":"Run instagram/profile.search (query-kind). Offers in failover order: brightdata/instagram ($0.001725/record, max 100 inputs), apify/apify ($0.003726/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text account search, as you would type it in the Instagram search bar","example":["nasa"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text account search, as you would type it in the Instagram search bar","example":"nasa"},"provider":{"type":"string","enum":["brightdata/instagram","apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/place.search":{"post":{"operationId":"run_instagram_place_search","summary":"instagram/place.search","description":"Run instagram/place.search (query-kind). Offers in failover order: apify/apify ($0.003726/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. A place, city or venue name","example":["paris"]},"query":{"type":"string","description":"Single-input form of 'queries'. A place, city or venue name","example":"paris"},"provider":{"type":"string","enum":["apify/apify"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/tiktok/video.search":{"post":{"operationId":"run_tiktok_video_search","summary":"tiktok/video.search","description":"Run tiktok/video.search (query-kind). Offers in failover order: brightdata/tiktok ($0.001725/record, max 100 inputs), apify/clockworks ($0.005106/record, max 50 inputs). The response's `served_by` names the offer that actually ran.","tags":["tiktok"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text search query, as you would type it in the TikTok search bar. Results come back in TikTok's own relevance order, NOT newest-first — sort on `date_posted` if recency matters.","example":["ballon dor"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text search query, as you would type it in the TikTok search bar. Results come back in TikTok's own relevance order, NOT newest-first — sort on `date_posted` if recency matters.","example":"ballon dor"},"provider":{"type":"string","enum":["brightdata/tiktok","apify/clockworks"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"country":{"description":"Two-letter country code for the location the search runs from, e.g. \"FR\". TikTok tailors search results to the viewer, so this is what scopes a query to one market.","type":"string"},"postsToNotInclude":{"description":"Comma-separated post ids to skip. Feed back the ids already collected so a repeated search is not billed for the same videos twice.","type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/company.info":{"post":{"operationId":"run_linkedin_company_info","summary":"linkedin/company.info","description":"Run linkedin/company.info (url-kind). Offers in failover order: brightdata/linkedin ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/company/<slug>","example":["https://www.linkedin.com/company/microsoft"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/company/<slug>","example":"https://www.linkedin.com/company/microsoft"},"provider":{"type":"string","enum":["brightdata/linkedin"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/job.info":{"post":{"operationId":"run_linkedin_job_info","summary":"linkedin/job.info","description":"Run linkedin/job.info (url-kind). Offers in failover order: brightdata/linkedin ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/jobs/view/<job_id>","example":["https://www.linkedin.com/jobs/view/4015234567"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/jobs/view/<job_id>","example":"https://www.linkedin.com/jobs/view/4015234567"},"provider":{"type":"string","enum":["brightdata/linkedin"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/job.search":{"post":{"operationId":"run_linkedin_job_search","summary":"linkedin/job.search","description":"Run linkedin/job.search (query-kind). Offers in failover order: brightdata/linkedin ($0.001725/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. A job title or keyword, as you would type it in LinkedIn's job search. Quote a phrase (\"product manager\") for an exact match. The `location` option is required: LinkedIn scopes a job search to a place.","example":["product manager"]},"query":{"type":"string","description":"Single-input form of 'queries'. A job title or keyword, as you would type it in LinkedIn's job search. Quote a phrase (\"product manager\") for an exact match. The `location` option is required: LinkedIn scopes a job search to a place.","example":"product manager"},"provider":{"type":"string","enum":["brightdata/linkedin"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"location":{"description":"Where to search, as LinkedIn spells it: a city, region or country, e.g. \"Paris\", \"Greater London\", \"United States\". LinkedIn scopes a job search to a place, so a keyword on its own is not a search.","type":"string"},"country":{"description":"Two-letter country code narrowing the location, e.g. \"FR\", \"US\".","type":"string"},"timeRange":{"description":"Only return listings posted within this window.","type":"string","enum":["Past 24 hours","Past week","Past month","Any time"]},"jobType":{"description":"Employment type.","type":"string","enum":["Full-time","Part-time","Contract","Temporary","Internship","Volunteer","Other"]},"experienceLevel":{"description":"Seniority of the role.","type":"string","enum":["Internship","Entry level","Associate","Mid-Senior level","Director","Executive"]},"remote":{"description":"Work arrangement.","type":"string","enum":["Remote","On-site","Hybrid"]},"company":{"description":"Only return listings from this company.","type":"string"},"locationRadius":{"description":"How far around `location` to search, in LinkedIn's own units, e.g. \"25 mi\".","type":"string"},"selectiveSearch":{"description":"Drop listings whose title does not contain the keyword. Fewer results, tighter match, fewer billed records.","default":false,"type":"boolean"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/post.info":{"post":{"operationId":"run_linkedin_post_info","summary":"linkedin/post.info","description":"Run linkedin/post.info (url-kind). Offers in failover order: brightdata/linkedin ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.linkedin.com/posts/<slug>. One post per URL.","example":["https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.linkedin.com/posts/<slug>. One post per URL.","example":"https://www.linkedin.com/posts/satyanadella_ai-activity-7123456789012345678-AbCd"},"provider":{"type":"string","enum":["brightdata/linkedin"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/linkedin/profile.search":{"post":{"operationId":"run_linkedin_profile_search","summary":"linkedin/profile.search","description":"Run linkedin/profile.search (query-kind). Offers in failover order: brightdata/linkedin ($0.001725/record, max 100 inputs). The response's `served_by` names the offer that actually ran.","tags":["linkedin"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. A person's full name, as you would type it in LinkedIn's people search","example":["Satya Nadella"]},"query":{"type":"string","description":"Single-input form of 'queries'. A person's full name, as you would type it in LinkedIn's people search","example":"Satya Nadella"},"provider":{"type":"string","enum":["brightdata/linkedin"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/post.info":{"post":{"operationId":"run_instagram_post_info","summary":"instagram/post.info","description":"Run instagram/post.info (url-kind). Offers in failover order: brightdata/instagram ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/p/<shortcode>. Reel URLs (/reel/<shortcode>) are accepted too.","example":["https://www.instagram.com/p/C1aBcDeFgHi/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/p/<shortcode>. Reel URLs (/reel/<shortcode>) are accepted too.","example":"https://www.instagram.com/p/C1aBcDeFgHi/"},"provider":{"type":"string","enum":["brightdata/instagram"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/instagram/reel.info":{"post":{"operationId":"run_instagram_reel_info","summary":"instagram/reel.info","description":"Run instagram/reel.info (url-kind). Offers in failover order: brightdata/instagram ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["instagram"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.instagram.com/reel/<shortcode>. One reel per URL.","example":["https://www.instagram.com/reel/C1aBcDeFgHi/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.instagram.com/reel/<shortcode>. One reel per URL.","example":"https://www.instagram.com/reel/C1aBcDeFgHi/"},"provider":{"type":"string","enum":["brightdata/instagram"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/profile.posts":{"post":{"operationId":"run_facebook_profile_posts","summary":"facebook/profile.posts","description":"Run facebook/profile.posts (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/<username>. A numeric-ID profile URL (facebook.com/profile.php?id=<id>) also works.","example":["https://www.facebook.com/zuck"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/<username>. A numeric-ID profile URL (facebook.com/profile.php?id=<id>) also works.","example":"https://www.facebook.com/zuck"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/group.posts":{"post":{"operationId":"run_facebook_group_posts","summary":"facebook/group.posts","description":"Run facebook/group.posts (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/groups/<group_id>","example":["https://www.facebook.com/groups/programmerspace"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/groups/<group_id>","example":"https://www.facebook.com/groups/programmerspace"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/post.comments":{"post":{"operationId":"run_facebook_post_comments","summary":"facebook/post.comments","description":"Run facebook/post.comments (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/<page>/posts/<post_id>","example":["https://www.facebook.com/nasa/posts/pfbid02XyZAbC123"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/<page>/posts/<post_id>","example":"https://www.facebook.com/nasa/posts/pfbid02XyZAbC123"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/marketplace.listings":{"post":{"operationId":"run_facebook_marketplace_listings","summary":"facebook/marketplace.listings","description":"Run facebook/marketplace.listings (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/marketplace/item/<item_id>","example":["https://www.facebook.com/marketplace/item/1234567890123456"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/marketplace/item/<item_id>","example":"https://www.facebook.com/marketplace/item/1234567890123456"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/post.info":{"post":{"operationId":"run_facebook_post_info","summary":"facebook/post.info","description":"Run facebook/post.info (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/<page>/posts/<post_id>","example":["https://www.facebook.com/nasa/posts/pfbid02XyZAbC123"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/<page>/posts/<post_id>","example":"https://www.facebook.com/nasa/posts/pfbid02XyZAbC123"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/event.info":{"post":{"operationId":"run_facebook_event_info","summary":"facebook/event.info","description":"Run facebook/event.info (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/events/<event_id>","example":["https://www.facebook.com/events/1234567890123456"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/events/<event_id>","example":"https://www.facebook.com/events/1234567890123456"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/profile.reels":{"post":{"operationId":"run_facebook_profile_reels","summary":"facebook/profile.reels","description":"Run facebook/profile.reels (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/<username>. A numeric-ID profile URL (facebook.com/profile.php?id=<id>) also works.","example":["https://www.facebook.com/zuck"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/<username>. A numeric-ID profile URL (facebook.com/profile.php?id=<id>) also works.","example":"https://www.facebook.com/zuck"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/page.reviews":{"post":{"operationId":"run_facebook_page_reviews","summary":"facebook/page.reviews","description":"Run facebook/page.reviews (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/<page>","example":["https://www.facebook.com/nasa"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/<page>","example":"https://www.facebook.com/nasa"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/facebook/profile.info":{"post":{"operationId":"run_facebook_profile_info","summary":"facebook/profile.info","description":"Run facebook/profile.info (url-kind). Offers in failover order: brightdata/facebook ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["facebook"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.facebook.com/<username>. A numeric-ID profile URL (facebook.com/profile.php?id=<id>) also works.","example":["https://www.facebook.com/zuck"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.facebook.com/<username>. A numeric-ID profile URL (facebook.com/profile.php?id=<id>) also works.","example":"https://www.facebook.com/zuck"},"provider":{"type":"string","enum":["brightdata/facebook"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/tiktok/profile.info":{"post":{"operationId":"run_tiktok_profile_info","summary":"tiktok/profile.info","description":"Run tiktok/profile.info (url-kind). Offers in failover order: brightdata/tiktok ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["tiktok"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.tiktok.com/@<handle>","example":["https://www.tiktok.com/@tiktok"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.tiktok.com/@<handle>","example":"https://www.tiktok.com/@tiktok"},"provider":{"type":"string","enum":["brightdata/tiktok"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/tiktok/profile.videos":{"post":{"operationId":"run_tiktok_profile_videos","summary":"tiktok/profile.videos","description":"Run tiktok/profile.videos (url-kind). Offers in failover order: brightdata/tiktok ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["tiktok"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.tiktok.com/@<handle>","example":["https://www.tiktok.com/@tiktok"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.tiktok.com/@<handle>","example":"https://www.tiktok.com/@tiktok"},"provider":{"type":"string","enum":["brightdata/tiktok"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"postedAfter":{"description":"Only videos published on/after this UTC date.","type":"string","format":"date"},"postedBefore":{"description":"Only videos published before this UTC date.","type":"string","format":"date"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/tiktok/video.info":{"post":{"operationId":"run_tiktok_video_info","summary":"tiktok/video.info","description":"Run tiktok/video.info (url-kind). Offers in failover order: brightdata/tiktok ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["tiktok"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.tiktok.com/@<handle>/video/<video_id>","example":["https://www.tiktok.com/@tiktok/video/7106594312292453675"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.tiktok.com/@<handle>/video/<video_id>","example":"https://www.tiktok.com/@tiktok/video/7106594312292453675"},"provider":{"type":"string","enum":["brightdata/tiktok"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/tiktok/video.comments":{"post":{"operationId":"run_tiktok_video_comments","summary":"tiktok/video.comments","description":"Run tiktok/video.comments (url-kind). Offers in failover order: brightdata/tiktok ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["tiktok"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.tiktok.com/@<handle>/video/<video_id>","example":["https://www.tiktok.com/@tiktok/video/7106594312292453675"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.tiktok.com/@<handle>/video/<video_id>","example":"https://www.tiktok.com/@tiktok/video/7106594312292453675"},"provider":{"type":"string","enum":["brightdata/tiktok"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/youtube/video.comments":{"post":{"operationId":"run_youtube_video_comments","summary":"youtube/video.comments","description":"Run youtube/video.comments (url-kind). Offers in failover order: brightdata/youtube ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["youtube"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.youtube.com/watch?v=<video_id>. youtu.be and /shorts/ URLs are accepted too.","example":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.youtube.com/watch?v=<video_id>. youtu.be and /shorts/ URLs are accepted too.","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"provider":{"type":"string","enum":["brightdata/youtube"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/reddit/post.info":{"post":{"operationId":"run_reddit_post_info","summary":"reddit/post.info","description":"Run reddit/post.info (url-kind). Offers in failover order: brightdata/reddit ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["reddit"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.reddit.com/r/<subreddit>/comments/<post_id>/<slug>","example":["https://www.reddit.com/r/programming/comments/1abcd2/some_title/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.reddit.com/r/<subreddit>/comments/<post_id>/<slug>","example":"https://www.reddit.com/r/programming/comments/1abcd2/some_title/"},"provider":{"type":"string","enum":["brightdata/reddit"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/reddit/post.comments":{"post":{"operationId":"run_reddit_post_comments","summary":"reddit/post.comments","description":"Run reddit/post.comments (url-kind). Offers in failover order: brightdata/reddit ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["reddit"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.reddit.com/r/<subreddit>/comments/<post_id>/<slug>","example":["https://www.reddit.com/r/programming/comments/1abcd2/some_title/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.reddit.com/r/<subreddit>/comments/<post_id>/<slug>","example":"https://www.reddit.com/r/programming/comments/1abcd2/some_title/"},"provider":{"type":"string","enum":["brightdata/reddit"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/pinterest/pin.info":{"post":{"operationId":"run_pinterest_pin_info","summary":"pinterest/pin.info","description":"Run pinterest/pin.info (url-kind). Offers in failover order: brightdata/pinterest ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["pinterest"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.pinterest.com/pin/<pin_id>","example":["https://www.pinterest.com/pin/99360735500167749/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.pinterest.com/pin/<pin_id>","example":"https://www.pinterest.com/pin/99360735500167749/"},"provider":{"type":"string","enum":["brightdata/pinterest"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/pinterest/profile.info":{"post":{"operationId":"run_pinterest_profile_info","summary":"pinterest/profile.info","description":"Run pinterest/profile.info (url-kind). Offers in failover order: brightdata/pinterest ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["pinterest"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.pinterest.com/<username>","example":["https://www.pinterest.com/pinterest/"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.pinterest.com/<username>","example":"https://www.pinterest.com/pinterest/"},"provider":{"type":"string","enum":["brightdata/pinterest"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/bluesky/post.info":{"post":{"operationId":"run_bluesky_post_info","summary":"bluesky/post.info","description":"Run bluesky/post.info (url-kind). Offers in failover order: brightdata/bluesky ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["bluesky"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://bsky.app/profile/<handle>/post/<post_id>","example":["https://bsky.app/profile/bsky.app/post/3kkrqzuydho2v"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://bsky.app/profile/<handle>/post/<post_id>","example":"https://bsky.app/profile/bsky.app/post/3kkrqzuydho2v"},"provider":{"type":"string","enum":["brightdata/bluesky"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/x/post.info":{"post":{"operationId":"run_x_post_info","summary":"x/post.info","description":"Run x/post.info (url-kind). Offers in failover order: brightdata/x ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["x"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://x.com/<handle>/status/<tweet_id>","example":["https://x.com/elonmusk/status/1234567890123456789"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://x.com/<handle>/status/<tweet_id>","example":"https://x.com/elonmusk/status/1234567890123456789"},"provider":{"type":"string","enum":["brightdata/x"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/x/profile.info":{"post":{"operationId":"run_x_profile_info","summary":"x/profile.info","description":"Run x/profile.info (url-kind). Offers in failover order: brightdata/x ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["x"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://x.com/<handle>. twitter.com URLs are accepted too.","example":["https://x.com/elonmusk"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://x.com/<handle>. twitter.com URLs are accepted too.","example":"https://x.com/elonmusk"},"provider":{"type":"string","enum":["brightdata/x"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/snapchat/post.info":{"post":{"operationId":"run_snapchat_post_info","summary":"snapchat/post.info","description":"Run snapchat/post.info (url-kind). Offers in failover order: brightdata/snapchat ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["snapchat"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.snapchat.com/spotlight/<id>","example":["https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYcnJsbWlkc2hjAZBBUFViAZBBUFVSAAAAAA"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.snapchat.com/spotlight/<id>","example":"https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYcnJsbWlkc2hjAZBBUFViAZBBUFVSAAAAAA"},"provider":{"type":"string","enum":["brightdata/snapchat"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/snapchat/profile.info":{"post":{"operationId":"run_snapchat_profile_info","summary":"snapchat/profile.info","description":"Run snapchat/profile.info (url-kind). Offers in failover order: brightdata/snapchat ($0.001725/record, max 1000 inputs). The response's `served_by` names the offer that actually ran.","tags":["snapchat"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. https://www.snapchat.com/@<username>. The /add/<username> form works too.","example":["https://www.snapchat.com/@team.snapchat"]},"url":{"type":"string","description":"Single-input form of 'urls'. https://www.snapchat.com/@<username>. The /add/<username> form works too.","example":"https://www.snapchat.com/@team.snapchat"},"provider":{"type":"string","enum":["brightdata/snapchat"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/enrich/person":{"post":{"operationId":"run_person_info","summary":"person/info","description":"Run person/info (identifier-kind). Offers in failover order: apollo/person ($0/record, max 10 inputs). The response's `served_by` names the offer that actually ran.","tags":["person"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"identifiers":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. <email>. The strongest match key — use it whenever you have one. | https://www.linkedin.com/in/<handle> | <provider_id>. A provider-side record id, as returned by the matching search service.","example":["alexandre@trustlist.ai"]},"identifier":{"type":"string","description":"Single-input form of 'identifiers'. <email>. The strongest match key — use it whenever you have one. | https://www.linkedin.com/in/<handle> | <provider_id>. A provider-side record id, as returned by the matching search service.","example":"alexandre@trustlist.ai"},"provider":{"type":"string","enum":["apollo/person"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"revealPersonalEmails":{"description":"Also return personal email addresses. Consumes extra credits on your own provider account.","default":false,"type":"boolean"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/enrich/company":{"post":{"operationId":"run_company_info","summary":"company/info","description":"Run company/info (identifier-kind). Offers in failover order: apollo/company ($0/record, max 10 inputs). The response's `served_by` names the offer that actually ran.","tags":["company"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"identifiers":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. <domain>. Bare domain — no scheme, no www, no path. | https://www.linkedin.com/company/<slug>","example":["stripe.com"]},"identifier":{"type":"string","description":"Single-input form of 'identifiers'. <domain>. Bare domain — no scheme, no www, no path. | https://www.linkedin.com/company/<slug>","example":"stripe.com"},"provider":{"type":"string","enum":["apollo/company"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/apollo/profile.info":{"post":{"operationId":"run_apollo_profile_info","summary":"apollo/profile.info","description":"Run apollo/profile.info (identifier-kind). Offers in failover order: apollo/apollo ($0/record, max 10 inputs). The response's `served_by` names the offer that actually ran.","tags":["apollo"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"identifiers":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. <email>. The strongest match key — use it whenever you have one. | https://www.linkedin.com/in/<handle> | <provider_id>. A provider-side record id, as returned by the matching search service.","example":["alexandre@trustlist.ai"]},"identifier":{"type":"string","description":"Single-input form of 'identifiers'. <email>. The strongest match key — use it whenever you have one. | https://www.linkedin.com/in/<handle> | <provider_id>. A provider-side record id, as returned by the matching search service.","example":"alexandre@trustlist.ai"},"provider":{"type":"string","enum":["apollo/apollo"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"revealPersonalEmails":{"description":"Also return personal email addresses. Consumes extra credits on your own provider account.","default":false,"type":"boolean"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/apollo/company.info":{"post":{"operationId":"run_apollo_company_info","summary":"apollo/company.info","description":"Run apollo/company.info (identifier-kind). Offers in failover order: apollo/apollo ($0/record, max 10 inputs). The response's `served_by` names the offer that actually ran.","tags":["apollo"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"identifiers":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. <domain>. Bare domain — no scheme, no www, no path. | https://www.linkedin.com/company/<slug>","example":["stripe.com"]},"identifier":{"type":"string","description":"Single-input form of 'identifiers'. <domain>. Bare domain — no scheme, no www, no path. | https://www.linkedin.com/company/<slug>","example":"stripe.com"},"provider":{"type":"string","enum":["apollo/apollo"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/apollo/profile.search":{"post":{"operationId":"run_apollo_profile_search","summary":"apollo/profile.search","description":"Run apollo/profile.search (query-kind). Offers in failover order: apollo/apollo ($0/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["apollo"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text keywords describing the people to find. Narrow with the options below rather than by writing a longer query","example":["growth engineer"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text keywords describing the people to find. Narrow with the options below rather than by writing a longer query","example":"growth engineer"},"provider":{"type":"string","enum":["apollo/apollo"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"titles":{"description":"Comma-separated job titles. Similar titles are matched too, e.g. \"head of growth, growth lead\".","type":"string"},"seniorities":{"description":"Comma-separated seniority levels: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern.","type":"string"},"locations":{"description":"Comma-separated locations the person lives in, e.g. \"Paris, London\".","type":"string"},"companyLocations":{"description":"Comma-separated locations of the employer's headquarters.","type":"string"},"companyDomains":{"description":"Comma-separated employer domains, e.g. \"stripe.com, figma.com\".","type":"string"},"employeeRange":{"description":"Employer headcount range, e.g. \"11,50\".","type":"string"},"emailStatus":{"description":"Only people whose work email has this status.","type":"string","enum":["verified","unverified","likely_to_engage","unavailable"]},"enrich":{"description":"Resolve each hit into a full profile, which is the only way to obtain a LinkedIn URL and an unmasked name. Consumes 1 credit per person matched on your own provider account. Set false for a credit-free preview: masked last names, no LinkedIn URL, is_obfuscated: true on every record.","default":true,"type":"boolean"},"revealPersonalEmails":{"description":"Also return personal email addresses. Consumes extra credits on your own provider account.","default":false,"type":"boolean"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/extract/apollo/company.search":{"post":{"operationId":"run_apollo_company_search","summary":"apollo/company.search","description":"Run apollo/company.search (query-kind). Offers in failover order: apollo/apollo ($0/record, max 1 inputs). The response's `served_by` names the offer that actually ran.","tags":["apollo"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Batch form. Free-text keywords describing the companies to find (an industry or market by default, a company name with match: \"name\")","example":["developer tools"]},"query":{"type":"string","description":"Single-input form of 'queries'. Free-text keywords describing the companies to find (an industry or market by default, a company name with match: \"name\")","example":"developer tools"},"provider":{"type":"string","enum":["apollo/apollo"],"description":"Pin a specific offer ('source/name'). Omit to let the router pick the head of the failover chain and fall over on errors."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":100,"description":"Maximum records to return (per input for some offers)."},"options":{"type":"object","additionalProperties":false,"description":"Service-specific options. Unknown keys are rejected.","properties":{"match":{"description":"What the query matches: the company's industry/keyword tags (default, e.g. \"fintech\"), or its name.","type":"string","enum":["keywords","name"]},"locations":{"description":"Comma-separated headquarters locations.","type":"string"},"excludeLocations":{"description":"Comma-separated headquarters locations to exclude.","type":"string"},"employeeRange":{"description":"Headcount range, e.g. \"51,200\".","type":"string"},"technologies":{"description":"Comma-separated technologies the company uses, e.g. \"salesforce, hubspot\".","type":"string"},"revenueMin":{"description":"Minimum annual revenue, in USD.","type":"number"},"revenueMax":{"description":"Maximum annual revenue, in USD.","type":"number"}}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Run completed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"402":{"$ref":"#/components/responses/BillingError"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/ProviderError"},"504":{"$ref":"#/components/responses/Timeout"}}}},"/v1/services":{"get":{"operationId":"list_services","summary":"Service catalogue","description":"Every implemented service with its offers in failover order, customer prices, caps, input shapes and typed options.","tags":["catalogue"],"responses":{"200":{"description":"The catalogue."}}}},"/v1/services/{platform}":{"get":{"operationId":"list_platform_services","summary":"Services of one platform or enrichment entity","tags":["catalogue"],"parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string"},"description":"A platform (`linkedin`, `reddit`, …) or an enrichment entity (`person`, `company`)."}],"responses":{"200":{"description":"The subject's services."},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/providers":{"get":{"operationId":"list_sources","summary":"Data sources","description":"Lightweight per-source view (marketing/trust). Detailed offers live on /v1/services.","tags":["catalogue"],"responses":{"200":{"description":"The sources."}}}},"/v1/extractions/{id}":{"get":{"operationId":"get_extraction","summary":"Fetch a past run by id","tags":["extractions"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The run.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Extraction"}}}},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/account/balance":{"get":{"operationId":"get_balance","summary":"Credit balance","tags":["account"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"responses":{"200":{"description":"The balance."}}}},"/v1/account/usage":{"get":{"operationId":"get_usage","summary":"Usage summary","tags":["account"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":365,"default":30}}],"responses":{"200":{"description":"The summary."},"400":{"$ref":"#/components/responses/ValidationError"}}}},"/v1/account/byok-mode":{"get":{"operationId":"get_byok_mode","summary":"Which provider account your runs are placed on","description":"Returns the account default (`byok_mode`), every source that departs from it (`source_modes` — a source absent from it inherits the default), and what the setting can act on: the sources open to bring-your-own-key, and those that can ONLY be reached with one.","tags":["account"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"responses":{"200":{"description":"The preferences."}}},"put":{"operationId":"set_byok_mode","summary":"Set which provider account your runs are placed on","description":"own_first (default) uses a key you registered wherever you have one, and SocialRouter credits elsewhere. platform_first is the reverse, still using your key for sources SocialRouter holds no account for. own_only and platform_only are strict: offers that cannot run under them drop out of the failover chain. Every completed run reports which account paid in `billed_as`.\n\nOmit `source` to set the account default. Pass one to make that source alone depart from it, or `{\"source\": \"apify\", \"byok_mode\": null}` to put it back on the default — a source that stops departing follows later changes to the default.","tags":["account"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["byok_mode"],"properties":{"byok_mode":{"type":["string","null"],"enum":["own_first","platform_first","own_only","platform_only",null],"description":"null is accepted only together with `source`, and clears that source's override."},"source":{"type":"string","description":"Scope the mode to one source, e.g. \"apify\". Omit for the account default."}}}}}},"responses":{"200":{"description":"The updated preference."},"400":{"$ref":"#/components/responses/ValidationError"},"503":{"description":"The preference could not be saved. Nothing changed."}}}},"/v1/account/credentials":{"get":{"operationId":"list_credentials","summary":"Your registered provider credentials","description":"Lifecycle metadata only — labels, status, timestamps. No token, and no fragment of one, is ever returned by any endpoint.","tags":["credentials"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"responses":{"200":{"description":"The credentials."}}}},"/v1/account/credentials/{source}":{"put":{"operationId":"put_credential","summary":"Register or replace a provider token","description":"Verifies the token against the provider before storing it; a rejected token is never written. Replaces whatever was registered for this source — rotation is a re-registration, since no one can read the previous token back.","tags":["credentials"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","enum":["apify","brightdata","apollo"]},"description":"Data source the token belongs to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"The provider API token."},"label":{"type":"string","nullable":true,"maxLength":80,"description":"Optional display name. The only user-visible handle on the credential."}}}}}},"responses":{"200":{"description":"The stored credential, without its token."},"400":{"$ref":"#/components/responses/ValidationError"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"description":"Provider unreachable, or credential store unavailable. Nothing was stored."}}},"patch":{"operationId":"rename_credential","summary":"Rename a credential","description":"The label is the only editable field. A token is replaced with PUT, never patched.","tags":["credentials"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","enum":["apify","brightdata","apollo"]},"description":"Data source the token belongs to."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["label"],"properties":{"label":{"type":"string","nullable":true,"maxLength":80}}}}}},"responses":{"200":{"description":"The updated credential."},"400":{"$ref":"#/components/responses/ValidationError"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"operationId":"revoke_credential","summary":"Revoke a credential","description":"Destroys the stored token. The audit trail of the credential is kept.","tags":["credentials"],"security":[{"bearerAuth":[]},{"oauth2":["openid","email"]}],"parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","enum":["apify","brightdata","apollo"]},"description":"Data source the token belongs to."}],"responses":{"200":{"description":"Revoked."},"404":{"$ref":"#/components/responses/NotFound"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key (`sr_live_…`) created in the dashboard, or an OAuth 2.1 access token obtained through the flow described by `oauth2` below. Both are sent the same way; the API resolves either to the account whose credits the run spends."},"oauth2":{"type":"oauth2","description":"Authorization Code with PKCE, against the SocialRouter authorization server. Dynamic client registration is supported. Request `resource=https://mcp.socialrouter.io/mcp` so the access token is bound to this API.","flows":{"authorizationCode":{"authorizationUrl":"https://zfhfydvrcmddkusalfjp.supabase.co/auth/v1/oauth/authorize","tokenUrl":"https://zfhfydvrcmddkusalfjp.supabase.co/auth/v1/oauth/token","refreshUrl":"https://zfhfydvrcmddkusalfjp.supabase.co/auth/v1/oauth/token","scopes":{"openid":"Identify the account the grant belongs to. Required.","email":"Read the account's email address, which is how usage is attributed and invoiced."}}}}},"schemas":{"Extraction":{"type":"object","properties":{"id":{"type":"string","example":"ext_Ab3dEf..."},"status":{"type":"string","enum":["pending","completed","failed"]},"platform":{"type":"string","example":"reddit"},"service":{"type":"string","example":"subreddit.posts"},"url":{"type":"string","description":"Primary input (first URL or query)."},"queries":{"type":"array","items":{"type":"string"},"description":"Query-kind services only."},"served_by":{"type":["string","null"],"example":"apify/harshmaur","description":"The offer that actually served the request."},"fallback_from":{"type":"string","description":"Set when a fallback served. Names the offer that was first in the chain."},"billed_as":{"type":"string","enum":["platform","own"],"description":"Which provider account the run was placed on: 'platform' (SocialRouter's, paid in credits) or 'own' (a key you registered, invoiced to you by the provider). A failover chain can mix the two, so `served_by` alone does not answer it."},"credits_used":{"type":"number"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ExtractionRecord"}},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"returned":{"type":"integer"}}},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"}}},"ExtractionRecord":{"type":"object","description":"Normalized record. Base fields below, with service-specific fields alongside.","properties":{"name":{"type":"string"},"profile_url":{"type":"string"},"source":{"type":"string","description":"Platform the record came from."},"extracted_at":{"type":"string","format":"date-time"}},"additionalProperties":true},"Error":{"type":"object","description":"Every 4xx and 5xx this API returns has this shape. `error.code` is the stable identifier to branch on; `error.message` is written to be acted on, not displayed.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","type"],"properties":{"code":{"type":"string","description":"Stable, machine-readable identifier of the failure, e.g. `insufficient_credits`, `unknown_service`, `provider_rate_limited`, `too_many_inputs`. New codes are added over time; treat an unrecognised one as its `type`.","example":"insufficient_credits"},"message":{"type":"string","description":"Corrective, written for an LLM reader."},"type":{"type":"string","enum":["validation","auth","billing","rate_limit","not_found","routing","timeout","provider","api_error","internal","server"],"description":"Class of failure: `validation` (fix the request), `auth` (fix the credential), `billing` (top up), `rate_limit` (wait, see Retry-After), `not_found` / `routing` (no such service or no offer for it), `timeout`, `provider` / `api_error` (upstream), `internal` / `server` (ours)."},"param":{"type":"string","description":"On a `validation` failure raised by the provider, the request field to fix: an `options` key, `inputs` or `limit`."},"provider_detail":{"type":"string","description":"The provider's own explanation, verbatim but sanitized. Only present when the run was placed on a provider key you registered — there the fix is on your account with that provider, and this is usually the only string precise enough to name it."}}},"extraction_id":{"type":"string","description":"Present when the failure happened after routing began. Quote it in a bug report — it ties the response to the run's routing trail."}}}},"responses":{"ValidationError":{"description":"Invalid request. The message names the field, the expected format, and an example.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"BillingError":{"description":"Insufficient credits.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Unknown platform/service/resource. The message lists valid alternatives.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate or credit limit reached. `error.code` says which: `rate_limited` is request volume and clears when the window resets (see `Retry-After`); `provider_rate_limited` is upstream quota and is worth retrying after the delay; `credit_limit_exceeded` is a limit set on the API key and retrying will not clear it.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying. Present when every offer in the chain was rate-limited upstream."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=100;w=60"},"description":"The request-volume policy being enforced, when one is configured. Sent on every response, not only this one."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=99;t=60"},"description":"What is left of the current window: `r` remaining requests, `t` seconds until it resets. Sent on every response, not only this one."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ProviderError":{"description":"Every offer in the failover chain failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Timeout":{"description":"Request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}