Marketplace Service Template avatar

Marketplace Service Template

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Marketplace Service Template

Marketplace Service Template

Under maintenance

๐Ÿ›ก๏ธ Unblockable Infrastructure: Powered by a 4G mobile proxy rotation to bypass advanced bot detection. โ€‹๐Ÿ“Š Multimodal Extraction: 27+ endpoints covering Social Media (LI/FB/IG/TikTok), Real Estate, and Google Maps. โ€‹๐Ÿ’ธ x402 V2 Compliant: Optimized for the latest machine-to-machine payment protocols

Pricing

Pay per usage

Rating

0.0

(0)

Developer

EL BADOO

EL BADOO

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Share

Turn AI agent traffic into passive USDC income.

Fork this repo โ†’ edit one file โ†’ deploy โ†’ start earning.

You provide the idea. We provide 155+ mobile devices across 6 countries, x402 payment rails, and the marketplace to find customers.

Reference implementation included: This repo ships with a working Google Maps Lead Generator (src/service.ts + src/scrapers/) built by @aliraza556. Use it as-is or replace with your own service logic.

The Economics

You're arbitraging infrastructure. Buy proxy bandwidth wholesale, sell API calls retail.

Proxy cost: $4/GB shared, $8/GB private (live pricing)

Your margin depends on what you're scraping:

Use CaseAvg SizeReqs/GBCost/ReqYou ChargeMargin
JSON APIs~10 KB100k$0.00004$0.00197%
Text extraction~50 KB20k$0.0002$0.00596%
HTML (no images)~200 KB5k$0.0008$0.00584%
Full pages~2 MB500$0.008$0.0260%

Example: Text scraper at 10k req/day

  • Traffic: ~0.5 GB/day โ†’ $2/day proxy cost
  • Revenue: $0.005 ร— 10k = $50/day
  • Profit: $48/day (~$1,400/mo)

Key: Optimize response size. Return text, not full HTML. Skip images. The template's proxyFetch() returns text by default (50KB cap).

Why This Works

  1. AI agents pay automatically โ€” x402 protocol, no invoicing, no chasing payments
  2. Real mobile IPs โ€” bypass blocks that kill datacenter scrapers
  3. Zero customer support โ€” API works or returns error, agents handle retries
  4. Passive income โ€” deploy once, earn while you sleep

๐Ÿ† Completed Bounties

  • Instagram Intelligence + AI Vision ($200): High-difficulty bounty complete. Includes stealth audits and vision analysis.
  • LinkedIn People Enrichment ($100): High-difficulty bounty complete. Optimized for iPhone 14 mobile fingerprints.
  • Reddit Intelligence ($50): Medium-difficulty bounty complete. Full subreddit and trending post extraction.

Quick Start

# Fork this repo, then:
git clone https://github.com/YOUR_USERNAME/marketplace-service-template
cd marketplace-service-template
cp .env.example .env
# Edit .env โ€” set your wallet(s) + PROXY_* credentials.
# We support BOTH chains, so plug in either or both:
# SOLANA_WALLET_ADDRESS=<your Phantom address> # Solana (~400ms, ~$0.0001 gas)
# WALLET_ADDRESS_BASE=<your Coinbase / MetaMask address> # Base (~2s, ~$0.01 gas)
bun install
bun run dev

Test it:

curl http://localhost:3000/health
# โ†’ {"status":"healthy","service":"my-service",...}
curl http://localhost:3000/
# โ†’ Service discovery JSON (AI agents read this)
curl "http://localhost:3000/api/run?query=plumbers&location=Austin+TX"
# โ†’ 402 with payment instructions (this is correct!)

Edit One File

src/service.ts โ€” change three values and the handler:

const SERVICE_NAME = 'my-scraper'; // Your service name
const PRICE_USDC = 0.005; // Price per request ($)
const DESCRIPTION = 'What it does'; // For AI agents
serviceRouter.get('/run', async (c) => {
// ... payment check + verification (already wired) ...
// YOUR LOGIC HERE:
const result = await proxyFetch('https://target.com');
return c.json({ data: await result.text() });
});

Everything else (server, CORS, rate limiting, payment verification, proxy helper) works out of the box.

How x402 Payment Works

AI Agent Your Service Blockchain
โ”‚ โ”‚ โ”‚
โ”‚โ”€โ”€โ”€ GET /api/run โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚ โ”‚
โ”‚โ—„โ”€โ”€ 402 {price, wallet, nets} โ”€โ”€โ”€โ”€โ”‚ โ”‚
โ”‚ โ”‚ โ”‚
โ”‚โ”€โ”€โ”€ Send USDC โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
โ”‚โ—„โ”€โ”€ tx confirmed โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚
โ”‚ โ”‚ โ”‚
โ”‚โ”€โ”€โ”€ GET /api/run โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚ โ”‚
โ”‚ Payment-Signature: <tx_hash> โ”‚โ”€โ”€โ”€ verify tx on-chain โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
โ”‚ โ”‚โ—„โ”€โ”€ confirmed โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚
โ”‚โ—„โ”€โ”€ 200 {result} โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚ โ”‚

Supports Solana (~400ms, ~$0.0001 gas) and Base (~2s, ~$0.01 gas).

What's Included

FilePurposeEdit?
src/service.tsYour service logic, pricing, descriptionYes
src/scrapers/maps-scraper.tsGoogle Maps scraping logic (reference impl)Replace with yours
src/types/index.tsTypeScript interfacesReplace with yours
src/utils/helpers.tsExtraction helper functionsReplace with yours
src/index.tsServer, CORS, rate limiting, discoveryNo
src/payment.tsOn-chain USDC verification (Solana + Base)No
src/proxy.tsProxy credentials + fetch with retryNo
CLAUDE.mdInstructions for AI agents editing this repoNo
SECURITY.mdSecurity features and production checklistRead it

Security

Built in by default:

  • On-chain payment verification โ€” Solana + Base RPCs, not trust-the-header
  • Replay prevention โ€” Each tx hash accepted only once
  • SSRF protection โ€” Private/internal URLs blocked
  • Rate limiting โ€” Per-IP, configurable (default 60/min)
  • Security headers โ€” nosniff, DENY framing, no-referrer

See SECURITY.md for production hardening.

Live Services

These services are live on the marketplace right now:

ServicePriceBuilderStatus
Social Intelligence Hub$0.005/query@IsahMuhammadLive & Verified
Mobile Proxy$4/GB shared, $8/GB privateProxies.sxLive
Google Maps Lead Generator$0.005/record@aliraza556Live
Mobile SERP Tracker$0.003/query@aliraza556Live
Job Market Intelligence$0.005/query@Lutra23Live
Prediction Market Aggregator$0.05/query@rakesh0xLive

Open Bounties โ€” $1,200+ in $SX Tokens

Build a service, earn $SX tokens. Full specs in each issue.

BountyAmountDifficultyIssue
Instagram Intelligence + AI Vision$200Hard#71
X/Twitter Real-Time Search$100Hard#73
LinkedIn People Enrichment$100Hard#77
Trend Intelligence (Cross-Platform)$100Hard#70
Prediction Market Aggregator$100Hard#55
Amazon Product & BSR Tracker$75Medium#72
Facebook Marketplace Monitor$75Medium-Hard#75
Airbnb Market Intelligence$75Medium-Hard#78
Real Estate Intelligence (Zillow)$75Medium-Hard#79
TikTok Trend Intelligence$75Hard#51
Google Discover Feed Intel$75Hard#52
Reddit Intelligence$50Easy-Medium#68
Google Reviews Extractor$50Medium#74
Food Delivery Price Intel$50Medium#76
App Store Intelligence$50Medium#54
Ad Verification & Creative Intel$50Medium#53

Rules:

  1. Must use Proxies.sx mobile proxies
  2. Must gate with x402 USDC payments
  3. Must deploy a live, working service
  4. Submit a PR with deployment URL + proof data
  5. $SX tokens paid after merge and verification

See CONTRIBUTING.md for full submission guide.

Get Proxy Credentials

Option A: Dashboard โ€” client.proxies.sx

Option B: x402 API (no account needed):

curl https://api.proxies.sx/v1/x402/proxy?country=US&traffic=1
# Returns 402 โ†’ pay USDC โ†’ get credentials

Option C: MCP Server (59 tools):

$npx -y @proxies-sx/mcp-server

Deploy

# Docker
docker build -t my-service .
docker run -p 3000:3000 --env-file .env my-service
# Any VPS with Bun
bun install --production && bun run start
# Railway / Fly.io / Render
# Just connect the repo โ€” Dockerfile detected automatically
ResourceURL
Marketplaceagents.proxies.sx/marketplace
Skill Fileagents.proxies.sx/skill.md
x402 Protocolagents.proxies.sx/.well-known/x402.json
MCP Server@proxies-sx/mcp-server
Proxy Pricingapi.proxies.sx/v1/x402/pricing
Telegram@proxyforai
Twitter@sxproxies
DiscussionsGitHub Discussions

License

MIT โ€” fork it, ship it, profit.


Ready to start earning?

git clone https://github.com/YOUR_USERNAME/marketplace-service-template
cd marketplace-service-template
cp .env.example .env
# Add your wallet + proxy credentials
bun install && bun run dev

Questions? @proxyforai ยท @sxproxies