OpenRouter Bridge Site
Pricing
Pay per usage
Go to Apify Store
OpenRouter Bridge Site
Pricing
Pay per usage
Rating
0.0
(0)
Developer
13213123124
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
2 days ago
Last modified
Categories
Share
This Actor runs in Apify Standby mode and acts as a minimal bridge between your site and the public Apify OpenRouter Actor.
What it does
- Accepts HTTP requests from your site
- Preserves the original method, path, query string, and body
- Forwards the request to
https://openrouter.apify.actor - Returns the upstream response back to the caller
- Adds permissive CORS headers so a browser-based HTML chat can call it directly
Important behavior
GET /returns service info.GET /healthreturns a simple health payload.- Any other path is proxied upstream as-is.
- The Actor uses the runtime
APIFY_TOKENavailable inside the Actor environment when calling upstream. - Requests to the standby endpoint must still be authenticated with an Apify token.
Example
curl -X POST \"$BRIDGE_URL/api/v1/chat/completions" \-H "Authorization: Bearer YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"model": "openrouter/auto","messages": [{"role": "user", "content": "Hello"}],"stream": false}'
Notes
- This is a passthrough bridge. It does not build or reshape the request payload.
- Streaming responses are supported and passed through.
- Preflight
OPTIONSrequests are handled for browser use.