How to Use PricePulse API

Complete guide with Python examples.

Installation

pip install git+https://github.com/rock2089/pricepulse-api.git

Get Your API Key

Sign up at pricepulse.dev/pricing for a free API key (100 requests/day).

Basic Usage

from pricepulse import PricePulse
client = PricePulse(api_key="your-key")

# Search products
results = client.search("iPhone 15", source="carousell")
for p in results:
    print(f"{p['title']} - ${p['price']}")

Search Across Platforms

# Search all platforms
all_results = client.search("Nike Air Max")

# Search specific platform
carousell = client.search("PS5", source="carousell")
amazon = client.search("PS5", source="amazon")

Trending Products

trending = client.trending()
for p in trending[:5]:
    print(p['title'], p['price'])

Arbitrage Detection

# Find products with 20%+ profit margin
deals = client.arbitrage(min_profit=20)
for d in deals:
    print(f"{d['title']} - Profit: {d['profit']}%")

Using Requests Directly

import requests
resp = requests.get(
    "https://incl-coupons-question-pair.trycloudflare.com/search",
    params={"q": "laptop", "source": "carousell"},
    headers={"X-API-Key": "your-key"}
)
print(resp.json())
Get Free API Key