HTTP wrapper that exposes 4 Apify actors as RapidAPI-ready endpoints.
| Path | Description | Apify Actor |
|---|---|---|
POST /youtube-transcript |
Extract YouTube transcripts | inexhaustible_glass/youtube-transcript-extractor |
POST /lead-enrichment |
B2B lead enrichment | inexhaustible_glass/linkedin-email-finder |
POST /google-trends |
Google Trends analysis | inexhaustible_glass/google-trends-scraper |
POST /google-maps-leads |
Google Maps business leads | amanbhawsar/smart-lead-finder-email-extractor |
| Variable | Required | Description |
|---|---|---|
APIFY_TOKEN |
Yes | Your Apify API token — get one at https://console.apify.com/account/integrations |
RAPIDAPI_PROXY_SECRET |
Recommended | Secret to validate incoming RapidAPI requests. Set to any random string and also configure on RapidAPI side. |
PORT |
No | Port to listen on (default 3000) |
- Push this folder to a GitHub repo.
- Go to https://render.com → "New +" → "Web Service".
- Connect your GitHub repo.
- Render auto-detects
render.yaml. - Add secret env var:
APIFY_TOKEN= your Apify token. - Click "Create Web Service".
- After ~2 minutes, your URL will be live at
https://apify-rapidapi-proxy-XXXX.onrender.com
npm install -g @railway/cli
railway login
railway init
railway variables set APIFY_TOKEN=your_token_here
railway upexport APIFY_TOKEN=your_token_here
npm install
node server.jsTest with:
curl -X POST http://localhost:3000/youtube-transcript \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"language":"en"}'- Deploy this server (above).
- Copy the live URL.
- On RapidAPI Provider Dashboard → your API → Definition → Base URL: paste the live URL.
- Import
openapi.jsonto auto-create all 4 endpoints with descriptions. - Set pricing tiers (suggested: Free 100/month, Basic $9, Pro $29, Ultra $99).
- Publish.
RapidAPI sends every request with X-RapidAPI-Proxy-Secret header. To prevent people bypassing RapidAPI and calling your server directly:
- In RapidAPI Provider Dashboard → your API → Settings → "Secret" → generate a random string.
- Set same string as
RAPIDAPI_PROXY_SECRETenv var on Render. - Server will reject any request without that header.