API Documentation

Access scam asset data programmatically with our REST API

Overview

The ScamFraud.info API provides programmatic access to scam asset data. All endpoints return only assets that have been identified as scams by the community (scam_votes > ok_votes).

Base URL:

https://scamfraud.info/api/scams

Rate Limiting

To ensure fair usage and system stability, all API endpoints are rate-limited:

  • Limit: 10 requests per IP address
  • Window: 2 hours (7,200 seconds)
  • Headers: Rate limit information is included in response headers

Rate Limit Exceeded

When the rate limit is exceeded, you will receive a 429 Too Many Requests response with a Retry-After header indicating when you can make another request.

Endpoints

Get Scam Domains

GET https://scamfraud.info/api/scams/domains

Returns a list of domains that have been identified as scams.

Query Parameters:

  • limit (optional): Number of results to return (max 1000, default: 1000)
  • offset (optional): Number of results to skip (default: 0)

Example Request:

curl "https://scamfraud.info/api/scams/domains?limit=100&offset=0"

Get Scam URLs

GET https://scamfraud.info/api/scams/urls

Returns a list of URLs that have been identified as scams.

Query Parameters:

  • limit (optional): Number of results to return (max 1000, default: 1000)
  • offset (optional): Number of results to skip (default: 0)

Example Request:

curl "https://scamfraud.info/api/scams/urls?limit=100"

Get Scam Emails

GET https://scamfraud.info/api/scams/emails

Returns a list of email addresses that have been identified as scams.

Query Parameters:

  • limit (optional): Number of results to return (max 1000, default: 1000)
  • offset (optional): Number of results to skip (default: 0)

Get Scam IBANs

GET https://scamfraud.info/api/scams/ibans

Returns a list of IBANs that have been identified as scams.

Query Parameters:

  • limit (optional): Number of results to return (max 1000, default: 1000)
  • offset (optional): Number of results to skip (default: 0)

Get Scam Crypto Wallets

GET https://scamfraud.info/api/scams/crypto

Returns a list of cryptocurrency wallet addresses that have been identified as scams.

Query Parameters:

  • limit (optional): Number of results to return (max 1000, default: 1000)
  • offset (optional): Number of results to skip (default: 0)

Get Scam Phone Numbers

GET https://scamfraud.info/api/scams/phones

Returns a list of phone numbers that have been identified as scams.

Query Parameters:

  • limit (optional): Number of results to return (max 1000, default: 1000)
  • offset (optional): Number of results to skip (default: 0)

Response Format

All successful responses return JSON with the following structure:

{
  "type": "domain",
  "total": 1234,
  "count": 100,
  "offset": 0,
  "limit": 100,
  "data": [
    {
      "id": "uuid",
      "type": "domain",
      "value": "example.com",
      "display_value": "example.com",
      "ok_votes": 2,
      "scam_votes": 15,
      "created_at": "2024-01-01T00:00:00Z"
    }
  ]
}

type: The asset type (domain, url, email, iban, crypto, phone)

total: Total number of scam assets of this type in the database

count: Number of assets returned in this response

offset: The offset used for this request

limit: The limit used for this request

data: Array of asset objects

Response Headers

All responses include rate limit information in headers:

  • X-RateLimit-Limit: Maximum number of requests allowed (10)
  • X-RateLimit-Remaining: Number of requests remaining in the current window
  • X-RateLimit-Reset: Unix timestamp when the rate limit resets

Error Responses

400 Bad Request

Invalid asset type or parameters

{
  "error": "Invalid asset type. Valid types are: domain, url, email, iban, crypto, phone"
}

429 Too Many Requests

Rate limit exceeded

{
  "error": "Rate limit exceeded",
  "message": "Maximum 10 requests per 2 hours. Please try again after...",
  "resetAt": "2024-01-01T02:00:00Z"
}

500 Internal Server Error

Server error

{
  "error": "Internal server error"
}

Authentication

All API endpoints are public and do not require authentication. Rate limiting is enforced per IP address to ensure fair usage.

Quick Links