APIs Pricing Why Apifyer Docs FAQ Log in Get started

API Documentation

Authenticate every request with your API key in the x-api-key header. All responses are JSON.

Marketplace API

Resolve a marketplace product link into structured product data plus a ready-to-share affiliate promo link. Base URL: /api/marketplace. Auth: x-api-key header. Each successful resolve costs $0.01 (or $0.005 after a $500 top-up). Failed lookups are not charged.

Endpoints

EndpointDescription
GET /api/marketplace/platformsList supported platforms
GET /api/marketplace/shopee?url=Shopee product + promo link
GET /api/marketplace/lazada?url=Lazada product + promo link
GET /api/marketplace/tiktokshop?url=TikTok Shop product + promo link
GET /api/marketplace/tokopedia?url=Tokopedia product + promo link
GET /api/marketplace/shopeefood?url=ShopeeFood store + promo link
GET /api/marketplace/blibli?url=Blibli product + promo link

url is required and must be a product link for the chosen platform. promo_link is returned as a template: affiliate/tracking values are replaced with set your … placeholders.

Sample request

curl "https://apifyer.com/api/marketplace/shopee?url=https://id.shp.ee/d4JJAav8" \
  -H "x-api-key: sk-apifyer-..."

Sample response — Shopee

{
  "success": true,
  "data": {
    "product_id": "45702153239",
    "platform": "Shopee",
    "title": "Stand Holder Hp Penyangga Broadcasting 360 Derajat Bisa Di Putar",
    "price": 19250,
    "estimated_value": 625,
    "sold": "-",
    "rate": "3.3 %",
    "image": "https://cf.shopee.co.id/file/id-11134207-8224o-mhiwdpsg7bwk4b",
    "promo_link": "https://s.shopee.co.id/an_redir?origin_link=...&affiliate_id=set your affiliate_id&sub_id=set your sub_id"
  },
  "usage": { "charged": 0.01, "balance": 9.99, "detail": "marketplace.shopee" }
}

Sample response — Lazada

{
  "success": true,
  "data": {
    "product_id": "5452098267",
    "platform": "Lazada",
    "title": "Sepatu Roda Anak Power Inline Skate / Power Roller Skate / Sepatu Roda bajaj Model Terbaru V2 ! Murahh Se-Indonesia !",
    "price": 134900,
    "estimated_value": 3507,
    "sold": "-",
    "rate": "2.6 %",
    "image": "https://id-live-01.slatic.net/p/77e41f3e40a2d97fa8887a065fb6ca0c.jpg",
    "promo_link": "https://s.lazada.co.id/s.ZJvkkv?c=d&t=p-i5wyRop-sFr64nw&sub_id1=set your sub_id&sub_aff_id=set your sub_id&sub_id2=set your sub_id"
  },
  "usage": { "charged": 0.01, "balance": 9.98, "detail": "marketplace.lazada" }
}

Sample response — TikTokShop

{
  "success": true,
  "data": {
    "product_id": "1729383044825974227",
    "platform": "TikTokShop",
    "title": "( paket 8 pcs) KAOS POLOS UKURAN M, L, XL  semi  katun  lembut",
    "price": 150000,
    "estimated_value": 2184,
    "sold": "-",
    "rate": "1.5 %",
    "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/...image",
    "promo_link": "https://www.tiktok.com/t/ZS4uYPNG7/?share_region=ID&u_code=set your u_code&ug_btm=set your ug_btm&ugbiz_name=UNKNOWN&unique_id=set your unique_id&user_id=set your user_id&utm_campaign=client_share&utm_medium=android&utm_source=copy"
  },
  "usage": { "charged": 0.01, "balance": 9.99, "detail": "marketplace.tiktokshop" }
}

Sample response — Tokopedia

{
  "success": true,
  "data": {
    "product_id": "100313968541",
    "platform": "Tokopedia",
    "title": "Promo [+PACKING BOX] Case MAGNETIC Macaron With Standable Camera ...",
    "price": 33000,
    "estimated_value": 1393,
    "sold": "75262 sold",
    "rate": "4.1 %",
    "image": "https://p16-images-sign-sg.tokopedia-static.net/...jpeg",
    "promo_link": "https://www.tokopedia.com/berkahaccc-773/...?utm_source=affiliate&utm_campaign=pdp_share&utm_content=set your utm_content"
  },
  "usage": { "charged": 0.01, "balance": 9.99, "detail": "marketplace.tokopedia" }
}

Sample response — ShopeeFood

{
  "success": true,
  "data": {
    "product_id": "22206588",
    "platform": "ShopeeFood",
    "title": "Shopee Food - 973257847531",
    "rate": "11 %",
    "promo_link": "https://shopee.co.id/now-food/affiliate/landing-page?deep_and_deferred=1&mmp_pid=set your mmp_id&restaurantId=null&shareChannel=copy_info&storeId=22206588&uls_trackid=set your uls_trackid&utm_campaign=set your utm_campaign&utm_content=set your utm_content&utm_medium=affiliate_food&utm_source=set your utm source&utm_term=set your utm_term"
  },
  "usage": { "charged": 0.01, "balance": 9.96, "detail": "marketplace.shopeefood" }
}

Sample response — Blibli

{
  "success": true,
  "data": {
    "product_id": "183169199",
    "platform": "Blibli",
    "title": "Boovi JD013 Jam Digital Tampilan Multifungsi Suhu Temperature Humidity Kelembapan Lampu RGB Bar Alarm Clock Rechargable",
    "price": 401580,
    "estimated_value": 4963,
    "sold": "0 sold",
    "rate": "1.2 %",
    "image": "https://www.static-src.com/wcsstore/Indraprastha/images/catalog/full/...webp",
    "promo_link": "https://www.blibli.com/p/boovi-jd013-.../is--BOS-70379-00072-00001?pickupPointCode=PP-3549836&utm_campaign=product_share&utm_medium=change with your aff_id&utm_source=affiliates&source_caller=api&shortlink=rovjowlw&af_param_forwarding=true&c=product_share&pid=affiliates&af_channel=change with your aff_id&af_force_deeplink=true"
  },
  "usage": { "charged": 0.01, "balance": 9.97, "detail": "marketplace.blibli" }
}

Crypto API

Token & pair market data. Base URL: /api/crypto. Tiered pricing ($0.01, or $0.005 after a $500 top-up).

Endpoints

EndpointParameters
GET /api/crypto/searchq*, chain, limit
GET /api/crypto/token/:chain/:addresschain, address
GET /api/crypto/pair/:chain/:pairAddresschain, pairAddress
GET /api/crypto/trendingchain, limit

Sample response — search

{
  "success": true,
  "data": {
    "query": "pepe",
    "count": 1,
    "pairs": [
      {
        "chainId": "solana",
        "dexId": "raydium",
        "pairAddress": "FCEnSxyJfRSKsz6tASUENCsfGwKgkH6YuRn1AMmyHhZn",
        "url": "https://apifyer.com/solana/fcensxyj...",
        "baseToken": { "address": "B5WT...R6B", "name": "Pepe", "symbol": "Pepe" },
        "quoteToken": { "symbol": "SOL" },
        "priceUsd": 0.001215,
        "liquidity": { "usd": 334059.13 },
        "fdv": 1215253,
        "marketCap": 1215253
      }
    ]
  },
  "usage": { "charged": 0.01, "balance": 19.99, "detail": "crypto.search" }
}

DEX API

Decentralized exchange data: pair search, token pairs, liquidity, token profiles and boosts. Base URL: /api/dex.

Endpoints

EndpointParameters
GET /api/dex/searchq*, chain, limit
GET /api/dex/pair/:chain/:pairAddresschain, pairAddress
GET /api/dex/tokens/:addressesaddresses* (max 30), chain, limit
GET /api/dex/token/:chain/:addresschain, address
GET /api/dex/profileschain, limit
GET /api/dex/booststype top|latest, chain, limit
GET /api/dex/trendingchain, limit

Sample response — search

{
  "success": true,
  "data": {
    "query": "pepe",
    "count": 1,
    "pairs": [
      {
        "chainId": "solana",
        "dexId": "raydium",
        "pairAddress": "FCEnSxyJfRSKsz6tASUENCsfGwKgkH6YuRn1AMmyHhZn",
        "priceUsd": 0.001215,
        "priceChange": { "h24": 68.85 },
        "volume": { "h24": 1498095.91 },
        "liquidity": { "usd": 334059.13 }
      }
    ]
  },
  "usage": { "charged": 0.01, "balance": 19.98, "detail": "dex.search" }
}

CEX API

Centralized exchange market data: prices, 24h tickers, order books, trades, klines and exchange metadata. Base URL: /api/cex.

Endpoints

EndpointParameters
GET /api/cex/pricesymbol or symbols
GET /api/cex/tickersymbol, type full|mini
GET /api/cex/book-tickersymbol
GET /api/cex/orderbooksymbol*, limit 5–5000
GET /api/cex/tradessymbol*, limit
GET /api/cex/klinessymbol*, interval*, limit
GET /api/cex/avg-pricesymbol*
GET /api/cex/exchange-infosymbol, permissions
GET /api/cex/ping · /time—

Sample response — price

{
  "success": true,
  "data": { "symbol": "BTCUSDT", "price": "78037.40000000" },
  "usage": { "charged": 0.01, "balance": 19.97, "detail": "cex.price" }
}

Social API

Profiles, posts, videos, comments and ad data from TikTok, Instagram, YouTube, X, Reddit, LinkedIn, Facebook and more. Base URL: /api/social. 179 endpoints under /v1, /v2, /v3.

Endpoint pattern

EndpointParameters
GET /api/social/v1/tiktok/profilehandle
GET /api/social/v2/tiktok/videourl*
GET /api/social/v1/instagram/profilehandle*
GET /api/social/v2/instagram/user/postshandle*
GET /api/social/v1/youtube/videourl*
GET /api/social/v1/twitter/profilehandle*
GET /api/social/v1/reddit/subredditsubreddit*

Sample response — TikTok profile

{
  "success": true,
  "data": {
    "success": true,
    "user": {
      "id": "5831967",
      "uniqueId": "charlidamelio",
      "nickname": "charli d’amelio",
      "verified": true,
      "signature": "orca enthusiast...",
      "avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/..."
    },
    "stats": { "followerCount": 160000000, "videoCount": 3260 }
  },
  "usage": { "charged": 0.01, "balance": 19.93, "detail": "social GET /v1/tiktok/profile" }
}

Blockchain API

Onchain data across 50+ EVM chains. Base URL: /api/blockchain. Call any endpoint as /api/blockchain/:module/:action?chainid=.

Endpoints

EndpointParameters
GET /api/blockchain/chains—
GET /api/blockchain/account/balancechainid, address
GET /api/blockchain/account/txlistchainid, address
GET /api/blockchain/account/tokentxchainid, address
GET /api/blockchain/contract/getabichainid, address
GET /api/blockchain/gastracker/gasoraclechainid
GET /api/blockchain/stats/ethpricechainid

Sample response — account/balance

{
  "success": true,
  "data": { "status": "1", "message": "OK", "result": "6712597953701629485" },
  "usage": { "charged": 0.01, "balance": 19.96, "detail": "blockchain account/balance chainid=1" }
}

Geolocation API

IP geolocation, forward & reverse geocoding, and country data. Base URL: /api/geo.

Endpoints

EndpointParameters
GET /api/geo/ipip (blank = your IP)
GET /api/geo/geocodeq*, limit, language
GET /api/geo/reverselat*, lng*
GET /api/geo/countrycode* (ISO 2/3)

Sample response — ip

{
  "success": true,
  "data": {
    "query": "8.8.8.8",
    "result": {
      "ip": "8.8.8.8",
      "hostname": "dns.google",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "postal": "94043",
      "latitude": 38.0088,
      "longitude": -122.1175,
      "timezone": "America/Los_Angeles",
      "org": "AS15169 Google LLC"
    }
  },
  "usage": { "charged": 0.01, "balance": 19.95, "detail": "geo.ip" }
}

Travel API

Live flights, weather forecasts, place lookup and currency rates. Base URL: /api/travel.

Endpoints

EndpointParameters
GET /api/travel/flightsbbox (lamin,lomin,lamax,lomax), icao24, limit
GET /api/travel/airport-flightsairport*, type arrival|departure, begin, end
GET /api/travel/weatherlat*, lng*, days, timezone
GET /api/travel/geocodeq*, limit, language
GET /api/travel/currencyfrom, to
GET /api/travel/currency/historyfrom, to, start*, end
GET /api/travel/currencies—

Sample response — currency

{
  "success": true,
  "data": { "base": "USD", "date": "2026-09-17", "rates": { "IDR": 17727 } },
  "usage": { "charged": 0.01, "balance": 19.94, "detail": "travel.currency" }
}

PPOB API

Prepaid digital products (pulsa, data, game vouchers, PLN, e-wallets). Uses its own IDR wallet — top it up first. Transactions are charged at product price + markup; catalog & balance are free. Base URL: /api/ppob.

Endpoints

EndpointParameters
GET /api/ppob/balance—
POST /api/ppob/topupamount (IDR)
GET /api/ppob/productsq, sku, brand, limit
POST /api/ppob/transactionsku*, customer_no*
GET /api/ppob/orderslimit
GET /api/ppob/transactionslimit

Sample response — balance

{
  "success": true,
  "data": { "currency": "IDR", "balance": 50000, "balance_usd": 3.125, "updated_at": "2026-09-18 12:08:45" }
}