Skip to main content
POST
Given a financial company’s name, returns how many complaints consumers have filed about it with the US Consumer Financial Protection Bureau, the five largest groups by product and by how the company answered, and the newest complaints. Complaints are consumers’ reports, not findings. The name is matched as text, so similarly named companies can appear.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
The financial company’s name, for example Wells Fargo. 2 to 100 characters.
string
Count only complaints received on or after this date. Use YYYY-MM-DD.
integer
Most complaints to return, newest first. From 1 to 25. Defaults to 10.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always company_consumer_complaints
object
The answer, described under Result below
object
Where the answer came from and when
boolean
true when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), false when the source was asked for this call
string
When the record was obtained from its source, as an ISO 8601 UTC time; equals evidence.retrieved_at
string
The public body the data comes from. Always US Consumer Financial Protection Bureau.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
number
Complaints matching the name (and since, when given).
object[]
The five most matched company names, so the caller can see whether the name was ambiguous.
string
The company name as the source holds it.
number
Count.
object[]
The five largest groups by financial product.
string
Name.
number
Count.
object[]
The five largest groups by how the company answered.
string
Name.
number
Count.
object[]
The newest complaints first.
string | null
The source’s complaint id. null when the source gives no value.
string | null
The company name as the source holds it. null when the source gives no value.
string | null
Product. null when the source gives no value.
string | null
Sub product. null when the source gives no value.
string | null
Issue. null when the source gives no value.
string | null
Sub issue. null when the source gives no value.
string | null
US state of the consumer. null when the source gives no value.
string | null
Date the source received the complaint, YYYY-MM-DD. null when the source gives no value.
string | null
How the company answered, for example Closed with explanation. null when the source gives no value.
string | null
The company’s public statement, when it gave one. null when the source gives no value.
boolean
True when the company answered within the time allowed.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Use it to check a bank, lender, card issuer or credit bureau before dealing with it.
  • companies lists the five most matched names with their counts and every complaint carries the company name the source holds.
  • since (YYYY-MM-DD) counts only complaints received on or after that date and limit sets how many complaints are returned (1 to 25, default 10).
  • A name with no complaint is a completed result with a total of 0 and empty lists.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}