How routing works
When you send a request to/v1/extract, SocialRouter:
- Detects the platform from the URL
- Finds all providers that support the requested platform + extraction type
- Selects the cheapest available provider (or your preferred one if specified)
- Calls the provider and normalizes the response
- If the provider fails, automatically falls back to the next available one
Choosing a provider
By default, SocialRouter picks the cheapest provider. You can override this with theprovider parameter:
Model slug
Every (provider, platform, extraction type) combination has a unique slug of the form<provider>/<platform>/<type> — for example apify/linkedin/profile.info or brightdata/instagram/post.likes. You can find them on the providers page; each row has a copy button.
The slug is the most direct way to pin a request: it fully specifies the routing target on its own, so you can pass it as model instead of the three discrete provider / platform / type fields.
provider, sending a model pins the route and disables failover.
Current providers
UseGET /v1/providers to see live status and pricing. The catalogue is derived from the provider registry — when a new provider is added, it appears automatically.
Provider availability and pricing can change. Always check the providers endpoint for current information.
Failover
If the primary provider returns an error, SocialRouter transparently retries with the next available provider. The response includes which provider actually fulfilled the request in theprovider field.
You are only charged for the provider that succeeds.