Reclame Aqui
Reclame Aqui Complaint API
One complaint on Reclame Aqui with its whole thread, by link or by company and complaint id: title, text, status, score, would deal again, category, problem, product, the consumer's state, the company's segment ranking, every interaction (company answer, consumer reply, company reply, final evaluation) and similar complaints. 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonurlstringA complaint link (url of a complaints or complaint-search answer). Send url, or company with complaint_id.
companystringThe company shortname, with complaint_id, instead of url.
Example: nubank
complaint_idstringThe 16-character complaint id (id of a complaints answer), with company.
Example: NhIy-6O6osFhQdJ-
Notes
Reclame Aqui. Reclame Aqui (reclameaqui.com.br, Brazil's company complaint and reputation site) is where consumers post complaints about companies and companies answer them in public; each company carries a reputation (RA1000, GREAT, GOOD, REGULAR, BAD, NOT_RECOMMENDED, ...) built from answer, resolution and would-do-business-again rates. Brazil only: every answer carries site, host, country (br) and language (pt-BR), and text is in Portuguese as published. Scavio fetches the public page on request. Reclame Aqui's own API (RA API / Hugme) is paid and covers only a company's own complaints. Credits per call here: 1. Consumer names, emails, IPs, user ids, phones and cities are never returned (the consumer's state is). The consumer's name in a company's greeting is replaced with [nome], and Reclame Aqui's own masks are kept. Complaint text is as the consumer published it: every complaint answer carries a note that Scavio removes the names it can detect. Company names, CNPJs, published phone numbers and city / state are public business data. interactions come in order, each with type (company_answer, consumer_reply, company_reply, final_evaluation), author (company or consumer), created and text. names_masked counts the names Scavio replaced with [nome] in the company's greetings. The captured complaint was answered by the company the day it was filed and evaluated as resolved with a score of 10.
| Endpoint | Returns | Credits per call |
|---|---|---|
company-search | Companies matching a name or brand, with reputation, score, CNPJ and segment | 1 |
company | One company's reputation for 5 periods, main problems, segment ranking and 6-month history | 1 |
complaints | One company's complaints, newest first, by tab, category, product, problem or keyword | 1 by company_id; 2 by shortname |
complaint | One complaint with its whole thread: company answer, replies and final evaluation | 1 |
complaint-search | Complaints across every company that match some words | 1 |
rankings | The 11 site-wide company rankings, 20 companies each | 1 |
segments | Every ranked segment (165 under 15 main segments) | 1 |
segment-ranking | The best and worst companies of one segment | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.reclameaqui.complaint(company="nubank", complaint_id="NhIy-6O6osFhQdJ-")["data"]
print(d["title"], d["status"], d["score"], d["would_deal_again"])
for i in d["interactions"]:
print(i["position"], i["type"], i["author"], i["created"])Response