v1

latestOpenAPI 3.0.32026-07-242644125.9 KB
Individuals

Get Earnings History

Retrieves earnings history from platform work (e.g., Uber, DiDi) for an individual identified by an 18-char CURP. Returns monthly earnings data with pagination support.

get/earnings/{identifier}

Path parameters

identifierstring required
Example:CURP123456HDFLRS09

The CURP of the individual.

Query parameters

pageinteger

Page number for pagination.

items_per_pageinteger

Number of items per page.

Response

Earnings history for the identifier.

identifierstring

The identifier (CURP or RFC) associated with the earnings data.

updated_atstring date-time

Timestamp of when the earnings data was last updated.

Example response

{
  "earnings_history": [
    {
      "period": "2025-03",
      "amount": 21000,
      "currency": "MXN",
      "platform": "uber"
    }
  ]
}