Home / APIs & widgets
Show a RIBIL score on any website
Nine iframe widgets and a two-route API for the score, rating and reviews a person has made public. No key, no sign-up, and nothing to install.
Pick a widget
Previews use a sample profile. Your widget shows the person’s real public data.
<iframe src="https://api-gnab44obta-el.a.run.app/embed/score-dial/kavya.sharma" title="RIBIL widget" width="300" height="340" style="border:0;max-width:100%;color-scheme:normal" loading="lazy"></iframe>Paste it into your page. Widgets stretch down to fit small screens, and Auto follows your visitor’s light or dark setting.
The API
Plain JSON over HTTPS. Call it from a browser or a server, with no key and no sign-in. Base URL:
https://api-gnab44obta-el.a.run.appRead a profile
GET /public/v1/profiles/{handle} returns the score, the rating and how many public reviews there are.
curl https://api-gnab44obta-el.a.run.app/public/v1/profiles/kavya.sharma{
"handle": "kavya.sharma",
"name": "Kavya Sharma",
"avatar": "https://ribil.app/assets/avatars/u31.jpg",
"verified": true,
"url": "https://ribil.app/u/kavya.sharma",
"score": {
"value": 664,
"band": "Good",
"min": 300,
"max": 900,
"updatedAt": "2026-11-02T03:00:00.000Z"
},
"rating": {
"average": 4.4,
"count": 38,
"histogram": { "5": 22, "4": 10, "3": 4, "2": 2, "1": 0 }
},
"reviews": { "public": true, "count": 14 }
}Someone who hasn’t been scored yet has "value": null and "band": null, and the same goes for "average" before their first rating.
Read public reviews
GET /public/v1/profiles/{handle}/reviews returns reviews, newest first. Add limit (1 to 20, default 10) and pass nextBefore back as before for the next page.
{
"reviews": [
{
"id": "mh2k1x9a",
"author": null,
"stars": 5,
"title": "Honest to a fault",
"text": "If you want someone who will tell you the truth...",
"relationship": "Close friend",
"years": null,
"date": "2026-10-09T08:12:00.000Z",
"helpful": 3,
"reply": null,
"pinned": false
}
],
"nextBefore": null
}author is null on an anonymous review. Otherwise it holds the reviewer’s name, handle, photo and verified mark.
From JavaScript
const res = await fetch('https://api-gnab44obta-el.a.run.app/public/v1/profiles/kavya.sharma');
if (res.status === 429) {
console.log('Try again in', res.headers.get('Retry-After'), 'seconds');
} else {
const { score, rating } = await res.json();
console.log(score.value, score.band, rating.average);
}Errors
| Status | Code | Meaning |
|---|---|---|
| 404 | not_found | No such handle, or the profile isn’t available |
| 405 | method_not_allowed | Anything other than GET: the API is read-only |
| 429 | rate_limited | A daily limit was reached |
Daily limits
The API and the widgets share these limits, and all three apply at once. A widget load is one request.
Counters start again at midnight UTC. Each response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. A 429 also has Retry-After, in seconds.
Browsers keep a widget for an hour and an API response for five minutes, so repeat views from the same visitor usually cost nothing. On a busy site, call the API from your server, keep the result for a few hours and show your own copy. Scores only change about once a week, so you won’t miss much.
What’s public, and what never is
You can read
- Name, handle, profile photo and verified mark
- Score and its band
- Star average, rating count and the star breakdown
- Public reviews and the owner’s replies
Never sent
- Who rated someone, or any individual answer
- The person behind an anonymous review
- Traits, score factors, tips and score history
- City, map location, bio, links and contact details
- Plan, points, wallet and settings
- Reviews that are private, flagged or removed
Privacy settings apply straight away. If someone makes their reviews private, the reviews stop showing. Profiles in Ghost mode, paused profiles and accounts being deleted aren’t available at all.
Nothing here can change a score
Every route only reads. A score moves through RIBIL’s scheduled rules or when its owner refreshes it in the app, never because of a request from a website. Widgets run no JavaScript at all, so they can’t touch your page.
A score is the opinion of someone’s circle. Don’t use it to decide credit, insurance, housing, employment or access to essential services. Our guide to social KYC covers fair use.
Questions
Do I need an API key?
No. The API and the widgets work without a key or a sign-up, because they only read public data. The daily limits protect each person and the service.
Can the API change a score?
No. Every route is read-only and anything other than GET is refused. A score changes only through RIBIL’s scheduled rules or when its owner refreshes it in the app.
Can I see who rated someone?
No. Raters, individual answers and the people behind anonymous reviews are never sent. An anonymous review stays anonymous on every website.
What happens when a limit is reached?
The API answers 429 with a Retry-After header. A widget shows a short “Back tomorrow” card. All counters start again at midnight UTC.
What if someone makes their reviews private?
Their reviews disappear from the API and the widgets on the next read, and review widgets say that reviews are private. Their score and rating still show.
Can a person keep their profile off the API?
Yes. Profiles in Ghost mode, paused profiles and accounts being deleted are not available. They return 404, the same as a handle that doesn’t exist.
Need more than this?
Building something bigger, or need higher limits? Tell us at business@ribil.app. To get your own score, start with the app.
Know Your SocialScore