Profile API
The Profile API returns the current profile of a visitor tracked by Renta Tracker: the identifiers linked to the visitor and the traits your site sent in identify calls. You look a profile up by user ID, anonymous ID, email, or phone.
Renta updates a profile as events arrive, usually within a second. Your backend can read the profile while the visitor is still on the page, for example to choose what the next screen shows.
Before you start
The Profile API works with a Renta Tracker source that meets the following conditions.
- JavaScript SDK events.
Renta builds profiles from the events of the JavaScript SDK. - Real-time profiles turned on.
Renta support turns real-time profiles on for each source. If they are off, the Profile API tab of the source shows a Contact us button that opens a request to support. - An API key with the CDP scope.
Requests are authorized with a Renta API key that has the Read permission for the CDP resource.
Get the tracking ID and an API key
Open Sources, select your Renta Tracker source, and go to the Settings tab. Copy the value of the Write Key field. The Profile API uses it as the tracking_id in every request path.

Create a key as described in Generate API key. In the Scopes section, select Read for the CDP resource.
Base URL and authentication
All Profile API endpoints share one base path. Replace {tracking_id} with the write key of your source.
https://api.eu.renta.im/v1/etl/cdp/v1/{tracking_id}/realtime/profilesSend the API key in the Authorization header of each request.
Authorization: Bearer YOUR_API_KEYIdentifiers
A request names a visitor with an identifier type and a value. Renta matches the value differently for each type.
| Type | What to send | How Renta matches it |
|---|---|---|
| user_id | The user ID from your identify calls | Exact match |
| anonymous_id | The anonymous ID the SDK assigned to the browser | Exact match. If the visitor has identified, the API returns the user profile this browser belongs to |
| The visitor's email | Case and surrounding spaces are ignored | |
| phone | The visitor's phone number, 7 to 15 digits | Spaces, brackets, and hyphens are ignored. A leading + is part of the value, so +15550102030 and 15550102030 are different numbers |
An email or phone finds only the profile of an identified user. A visitor who sent an email without a user ID can be found by anonymous ID.
URL-encode the value when you put it in a request path. For a value that contains a slash, use the bulk request. A value can be up to 256 characters long. Placeholder values such as null or undefined are rejected with a 400 error.
Get a profile
This request returns the profile that an identifier resolves to.
GET /v1/etl/cdp/v1/{tracking_id}/realtime/profiles/{id_type}/{id_value}To return only some traits, add the traits query parameter with up to 50 comma-separated trait keys. Without it, the response contains every trait of the profile.
curl "https://api.eu.renta.im/v1/etl/cdp/v1/YOUR_TRACKING_ID/realtime/profiles/email/anna%40example.com?traits=plan,city" \
-H "Authorization: Bearer YOUR_API_KEY"The response contains the profile under data.
{
"is_success": true,
"data": {
"profile_id": "user-1042",
"kind": "user",
"created_at": "2026-10-02T08:14:31.512000Z",
"updated_at": "2026-11-30T17:45:09.127000Z",
"traits": {
"plan": "pro",
"city": "Berlin"
}
}
}A profile has the following fields.
| Field | Type | Description |
|---|---|---|
| profile_id | string | The user ID of an identified visitor, otherwise the anonymous ID |
| kind | string | user for an identified visitor, anonymous otherwise |
| created_at | string | When Renta first saw the profile, in UTC |
| updated_at | string | When an event last changed the profile, in UTC |
| traits | object | Traits from identify calls, the newest value for each key. A value keeps the JSON type the SDK sent |
List the identities of a profile
This request returns every identifier linked to the profile, newest first: user ID, anonymous IDs, email, and phone.
GET /v1/etl/cdp/v1/{tracking_id}/realtime/profiles/{id_type}/{id_value}/identitiesEach item contains the identifier type, its value, and the time of the last event that carried it.
{
"is_success": true,
"data": [
{
"type": "anonymous_id",
"value": "0d6b3c1e-7a52-4f0e-9c1b-2f6f4d8a9e10",
"last_seen_at": "2026-11-30T17:45:09.127000Z"
},
{
"type": "user_id",
"value": "user-1042",
"last_seen_at": "2026-11-30T17:45:09.127000Z"
},
{
"type": "email",
"value": "anna@example.com",
"last_seen_at": "2026-10-02T08:14:31.512000Z"
}
]
}Get profiles in bulk
This request resolves up to 100 identifiers in one call.
POST /v1/etl/cdp/v1/{tracking_id}/realtime/profiles/batchSend the identifiers in the request body. The optional traits list of up to 50 keys limits the traits in the response.
curl -X POST "https://api.eu.renta.im/v1/etl/cdp/v1/YOUR_TRACKING_ID/realtime/profiles/batch" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"identifiers": [
{"type": "user_id", "value": "user-1042"},
{"type": "email", "value": "Unknown@Example.com"}
],
"traits": ["plan"]
}'The response contains one item for each identifier, in the order of the request. An item repeats the identifier in the form Renta matched it and contains the profile, or null when Renta has no profile for that identifier. A bulk request doesn't return 404 for a missing profile.
{
"is_success": true,
"data": [
{
"type": "user_id",
"value": "user-1042",
"profile": {
"profile_id": "user-1042",
"kind": "user",
"created_at": "2026-10-02T08:14:31.512000Z",
"updated_at": "2026-11-30T17:45:09.127000Z",
"traits": {
"plan": "pro"
}
}
},
{
"type": "email",
"value": "unknown@example.com",
"profile": null
}
]
}How Renta builds a profile
The rules below explain which profile a request returns and when it returns none.
- Identified visitors.
Anidentifycall with a user ID creates a user profile. Renta links the browser's anonymous ID to it and moves the traits collected before the login into the user profile. - Anonymous visitors.
A visitor without a user ID gets a profile only after an event that carries traits. Page views and track events alone don't create one, so the API returns 404 for such a visitor. - Email and phone.
Renta reads them from the traits ofidentifycalls. An email or phone belongs to one user: the one whoseidentifycall carried it first. - Traits.
A profile keeps the newest value of each trait. A trait sent with anullvalue is ignored and doesn't clear the stored value. - Expiry.
A profile that receives no events is deleted: an anonymous profile after 90 days, a user profile after 400 days.
Limits
These limits apply to requests and to the profiles themselves.
| Limit | Value |
|---|---|
| Requests per minute | 6,000 for the workspace |
| Requests per hour | 360,000 for the workspace |
| Identifiers in a bulk request | 100 |
| Trait keys in the traits filter | 50 |
| Identifier length | 256 characters |
| Traits in a profile | 200 |
| Trait key length | 128 characters |
| Trait value size | 1 KB as JSON |
| Identifiers linked to a profile | 100 |
The request limits are separate from the limits of the REST API. All sources and API keys of a workspace share them. Every response carries the same X-RateLimit-* headers as the rest of the REST API.
If your traffic needs higher limits, contact Renta support. We can raise the request limits and the profile limit for your workspace.
Each source also has a limit on the number of stored profiles. The Profiles stored card on the Profile API tab shows how much of it is used. When the limit is reached, new visitors don't get a profile, and existing profiles keep updating.
Performance
Renta typically sees p95 response times under 200 ms for Profile API requests. If you know which traits you need, list them in the traits parameter instead of requesting the whole profile.
In high-throughput applications, use connection pooling. Your service should reuse open connections to the Profile API instead of opening a new one for each request, because every new connection adds a TLS handshake.
Renta recommends against blocking the page render while you wait for the response. Request the profile from your backend after the page loads, and cache the traits you need for the next page view.
Errors
An error response has is_success set to false and the HTTP status code repeated in data.error_code.
{
"is_success": false,
"data": {
"error_code": 404,
"message": "No real-time profile is known for this identifier."
}
}The Profile API returns the following status codes.
| Code | When it is returned |
|---|---|
| 400 | The identifier type is unknown, the value is empty, too long, or not a valid email or phone, or a bulk request contains more than 100 identifiers |
| 401 | The API key is missing or invalid |
| 403 | The API key has no Read permission for CDP, or the tracking ID doesn't belong to the workspace of the key |
| 404 | Renta has no profile for the identifier, or real-time profiles are turned off for the source |
| 429 | The workspace exceeded a request limit. The Retry-After header contains the number of seconds until the limit resets |
| 503 | The profile store is temporarily unavailable. Repeat the request after the number of seconds in the Retry-After header |
Monitor the Profile API
The Profile API tab of a Renta Tracker source shows the stored profiles, the request limits, and the last hour of activity.

Each card shows one number.
| Card | What it shows |
|---|---|
| Profiles stored | Profiles Renta keeps for the source right now, against the profile limit of the source |
| Requests this minute | Profile API requests in the current minute, against the per-minute limit of the workspace |
| Requests this hour | Profile API requests in the current hour, against the hourly limit of the workspace |
| Profile freshness | Average time between an event and the moment its profile is updated and readable, over the last hour |
The chart below the cards shows one bar for each minute of the last hour. Use the Requests and Profile updates switch to choose what the bars count: the requests the API answered for this source, or the profiles created or updated from events.
Choose the email and phone traits
By default, Renta reads a visitor's email from the email trait and the phone number from the phone trait. If your site sends them under other names, add those trait keys in the settings of the Profile API.
Change the email and phone traits
On the Profile API tab of the source, click the three-dot icon in the upper-right corner and select Settings.

In the Email traits or Phone traits block, click Add trait and enter the trait key exactly as your site sends it, for example user_email. Then click Save.
When a list contains several keys, Renta takes the first trait that holds a valid value.

The new keys apply to the events that arrive after you save the settings.
Ready to get started?
Build your data pipeline today or get a personalized demo. Start free!
Need help?
Get expert support to ensure your project succeeds. We're here to help!
Feature requests?
Help shape our product! Share your ideas for new features and integrations.