Generate realistic fake data for testing β user profiles, addresses, phone numbers, and browser user agents.
Parameters (all optional):
type β all | user | address | useragent (default: all)
country β Country code (default: US)
gender β male | female
browser β Chrome | Firefox | Safari | Edge
Examples:
GET /random
GET /random?type=user&gender=female
GET /random?type=address
GET /random?type=useragent&browser=firefox
π‘ Integration Examples
# Python
import requests
# Single BIN lookup
r = requests.get("https://your-api.workers.dev/bin/437605")
data = r.json()["data"]
print(f"{data['scheme']} - {data['card_type']} - {data['issuer']}")
# Search all debit cards in Bangladesh
r = requests.get("https://your-api.workers.dev/api/search",
params={"country": "BD", "type": "DEBIT"})
for b in r.json()["data"]:
print(b["bin"], b["issuer"])
# JavaScript / Node.js
const res = await fetch("/api/search?country=US&scheme=VISA");
const { data, total } = await res.json();
console.log("Found " + total + " results");
# cURL
curl "https://your-api.workers.dev/bin/437605"
curl "https://your-api.workers.dev/api/search?issuer=chase&limit=5"