CFPB Complaints Scraper - Consumer Finance Data avatar

CFPB Complaints Scraper - Consumer Finance Data

Pricing

from $2.00 / 1,000 results

Go to Apify Store
CFPB Complaints Scraper - Consumer Finance Data

CFPB Complaints Scraper - Consumer Finance Data

Search public CFPB complaints by topic, product, company or state and export issues, responses, dates, location and optional narratives.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Ben

Ben

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Turn **CFPB Consumer Complaint Database API** into clean JSON, CSV or Excel rows without maintaining a custom integration. This Actor is designed for financial-services analysts, compliance teams, consumer researchers and customer-experience monitoring workflows. It uses the source's supported public feed, official API or open-data interface, keeps the default run intentionally small, and stores one normalized record per default-dataset item.
The Actor is production-oriented rather than a demo. It includes bounded inputs, retries for transient service errors, explicit empty-result failures, a structured dataset view and source links that make each row traceable. Run it manually, call it through the Apify API, schedule it, or connect it to Make, Zapier and n8n.
## What this Actor returns
Search public CFPB complaints by topic, product, company or state and export issues, responses, dates, location and optional narratives.
Core output fields include:
- `complaint_id`
  • date_received

  • product

  • sub_product

  • issue

  • sub_issue

  • company

  • state

  • zip_code

  • submitted_via

  • company_response

  • timely

  • consumer_narrative

  • complaint_url

  • source

    Additional source and search fields may be included when they improve traceability. Fields that are not available for a particular record are returned as null rather than guessed.

    Why use this data source?

    The US Consumer Financial Protection Bureau publishes de-identified complaint records and an official search API. Public narratives appear only when consumers consented to publication and the CFPB completed its scrubbing process.

    Using the first-party interface matters. It reduces blocking and proxy cost, makes daily monitoring practical, and preserves identifiers that can be checked against the publisher. The Actor does not copy a competitor implementation or depend on a third-party resale database. It normalizes current responses from the named source.

    Common use cases

    Track complaint themes for a product category

The structured output makes this workflow repeatable: run it on demand, schedule it, or pass the rows to the next system without manually copying records. Keep the input narrow enough to produce relevant results and retain the source identifiers for verification.

Compare company response patterns

The structured output makes this workflow repeatable: run it on demand, schedule it, or pass the rows to the next system without manually copying records. Keep the input narrow enough to produce relevant results and retain the source identifiers for verification.

Build state-level consumer-finance dashboards

The structured output makes this workflow repeatable: run it on demand, schedule it, or pass the rows to the next system without manually copying records. Keep the input narrow enough to produce relevant results and retain the source identifiers for verification.

Monitor newly published narratives by keyword

The structured output makes this workflow repeatable: run it on demand, schedule it, or pass the rows to the next system without manually copying records. Keep the input narrow enough to produce relevant results and retain the source identifiers for verification.

## Input
| Field | Type | Description |
| --- | --- | --- |
| `query` | `string` | Keywords searched across the public complaint database. Default: `"credit card"`. |

| product | string | Optional CFPB product name. Default: "". | | company | string | Optional company name. Default: "". | | state | string | Optional two-letter US state code. Default: "". | | includeNarrative | boolean | Include narratives consumers consented to publish. Default: true. | | maxResults | integer | Maximum number of normalized records saved to the default dataset. Default: 3. |

The default `maxResults` is deliberately low so a first run finishes quickly and produces an inexpensive proof dataset. Increase it only after confirming that your filters return the records you need.
### Example input
```json
{

"query": "credit card", "state": "CA", "includeNarrative": true, "maxResults": 3 } ```

## Output and export formats
Every matching record is pushed separately to the default Apify dataset. From the Dataset tab you can download JSON, CSV, Excel, XML, RSS or JSONL. API clients can use the dataset-items URL returned by the run object. Because the schema is stable, the output can be loaded into a database, spreadsheet, data warehouse or agent workflow without scraping log text.
A representative row contains the source identifier, human-readable title or name, the most useful status and date fields, and a direct source URL when the publisher exposes one. The exact fields are documented above and shown in the dataset table view.
## How it works
1. The Actor validates and bounds the supplied input.
2. It calls the supported **CFPB Consumer Complaint Database API** interface with a descriptive request identity.
3. Transient timeouts, rate limits and server errors are retried with backoff.
4. Source-specific nested fields are normalized into one flat business-friendly row.
5. Each row is written to the default dataset, where Apify automatically applies the configured pay-per-event result charge.
6. A zero-row response fails clearly instead of reporting a misleading successful run.
The Actor runs with limited permissions and only requests permission to write its result dataset. It does not require access to your other Actors, key-value stores or account resources.
## Scheduling and automation
Create an Apify Schedule to run the Actor hourly, daily or weekly. A schedule is useful for monitoring fresh records, while a one-off run is better for research or backfills. Keep inputs in the Task rather than hard-coding them in an external workflow so they can be reviewed and changed safely.
In Make, Zapier or n8n, use the Apify integration to run this Actor and then iterate over default-dataset items. For custom code, call `POST /v2/acts/benthepythondev~cfpb-complaints-scraper/runs`, poll the run to a terminal state, and fetch items from the run's default dataset. Never place an Apify token in a public frontend.
## Pricing
This Actor uses transparent pay-per-event pricing: `$0.00005` when a run starts and `$0.0020` for each record written to the default dataset. A run that returns 100 records therefore has a result charge of about `$0.20`, plus the small start event and normal Apify platform usage. The input limit controls both dataset size and result-event spend.
## Data quality and responsible use
Complaints are consumer reports, not adjudicated findings. Do not infer wrongdoing from one record, and handle narrative text responsibly because it may describe sensitive financial experiences.
Public does not mean context-free. Preserve attribution and source URLs, respect intellectual-property and privacy obligations, and do not use the data for prohibited discrimination, harassment or unsolicited bulk messaging. If a record drives a legal, financial, safety or compliance decision, verify it with the authoritative publisher and a qualified professional.
The upstream service can add fields, revise records, enforce quotas or experience downtime. The Actor retries transient failures, but it cannot guarantee that the source is always available or that every upstream record is complete. Scheduled users should monitor failed runs and retain the source ID so changed rows can be reconciled.
## FAQ
### Do I need an account or API key?
The default workflow uses a public, supported interface and does not require a user login. If the publisher changes its access policy in the future, the Actor will fail clearly rather than collecting data through an unrelated account.
### Can I export the results to CSV or Excel?
Yes. Open the default dataset after a run and select the desired download format. JSON and JSONL are best for code, while CSV and Excel are convenient for review and enrichment.
### Can I run it on a schedule?
Yes. Save a Task with the filters you want, then attach an Apify Schedule. Start with a daily run and adjust only after observing result volume, change frequency and cost.
### How are duplicates handled?
The Actor returns records supplied by the source for the requested query. Where the source exposes stable identifiers, those identifiers are included so downstream systems can upsert instead of append. Some sources intentionally publish several rows for one broader case or process; the README limitations explain those situations.
### Why did my run return no rows?
A filter may be too narrow, a date range may have no current records, or the source may be temporarily unavailable. Review the Actor log, broaden one filter at a time and keep `maxResults` small while testing.
### Is this an official product of the source publisher?
No. This is an independent Apify Actor that reads a public interface and links back to the authoritative source. Source names are used only to describe compatibility.
### How do I get support?
Open an issue on the Actor page with the run ID, a redacted input example and the field you expected. Do not post API tokens, personal credentials or private feed URLs in a public issue.
## You might also like
- [gleif-lei-scraper](https://apify.com/benthepythondev/gleif-lei-scraper)
  • federal-register-intelligence

  • sec-edgar-filings-intelligence

    If the Actor produced a useful dataset, please leave a short Apify Store review. Reviews help prioritize maintenance and show other users which workflows are working in production.

    Keywords: cfpb complaints scraper, cfpb consumer complaint database api, data API, public data scraper, Apify Actor, automation, structured dataset, JSON export, CSV export, scheduled monitoring, market research, business intelligence.