API v1.0

Consumer Advocacy API

Access our comprehensive database of consumer complaints. Build applications that help protect consumers and hold businesses accountable.

API Features

Search Reports

Query our database by company name, category, location, date range, and more.

Real-time Data

Access the latest reports as they're published on our platform.

Secure Access

API keys with rate limiting and usage tracking for secure integration.

Easy Integration

RESTful API with JSON responses. SDKs available for popular languages.

Quick Start

Get started with our API in minutes. Here are code examples in popular languages.

const response = await fetch(
  'https://fileacomplaint.com/api/v1/reports?category=retail&limit=10',
  {
    headers: {
      'x-api-key': 'YOUR_API_KEY'
    }
  }
);

const data = await response.json();
console.log(data.data); // Array of reports

API Playground

Test the API directly in your browser. Use the demo key: demo_key_12345

API Endpoints

Complete reference for all available endpoints

GET/api/v1/reports
List and search reports

Parameters:

company(string)- Filter by company name
category(string)- Filter by category (retail, telecom, banking, etc.)
location(string)- Filter by location
status(string)- Filter by status (active, resolved)
date_from(string)- Filter from date (YYYY-MM-DD)
date_to(string)- Filter to date (YYYY-MM-DD)
sort_by(string)- Sort by field (date, views, upvotes, rating)
sort_order(string)- Sort order (asc, desc)
page(integer)- Page number (default: 1)
limit(integer)- Results per page (max: 100)
GET/api/v1/reports/:id
Get a single report by ID
GET/api/v1/categories
List all categories with report counts
GET/api/v1/stats
Get platform statistics and trends

API Pricing

Choose the plan that fits your needs. All plans include access to our full API.

Free
For testing and development
$0/month
  • 100 API requests/day
  • Basic endpoints
  • Community support
  • Test environment only
Most Popular
Developer
For small applications
$49/month
  • 10,000 API requests/day
  • All endpoints
  • Email support
  • Production access
  • Webhook notifications
Business
For growing businesses
$199/month
  • 100,000 API requests/day
  • All endpoints
  • Priority support
  • Production access
  • Webhook notifications
  • Custom integrations
  • SLA guarantee

Ready to Get Started?

Join thousands of developers using our API to build consumer protection applications.