List portfolio evaluations
const url = 'https://integrador.avalisto.com/v1/portfolio/scorings?from=2025-01-01&to=2025-12-31&landlord=Sociedad%20Ejemplo&limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://integrador.avalisto.com/v1/portfolio/scorings?from=2025-01-01&to=2025-12-31&landlord=Sociedad%20Ejemplo&limit=25' \ --header 'Authorization: Bearer <token>'Evaluations requested by your account, most recent first. Available to fund accounts only; other accounts get 403 product_not_available. Data may be up to 5 minutes old.
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Query Parameters
Sección titulada «Query Parameters»Example
2025-01-01Start date (YYYY-MM-DD), inclusive. Applies to the effective date of policies and the creation date of scorings
Example
2025-12-31End date (YYYY-MM-DD), inclusive until 23:59:59 UTC
Example
Sociedad EjemploLandlord company name (prefix match, case-insensitive)
Example
25Page size (1-100)
Cursor returned by the previous page
Responses
Sección titulada «Responses»object
Opaque cursor for the next page; null when there are no more results
Number of items in this page
Items of this page
object
Creation date (ISO 8601, UTC)
Evaluation result
Property
object
Full address in one line
Landlord company name
Example
{ "nextCursor": null, "count": 1, "data": [ { "createdAt": "2025-03-10T10:00:00.000Z", "decision": "approved", "property": { "fullAddress": "Calle Ejemplo 1, 28000 Madrid" }, "landlordName": "Sociedad Ejemplo" } ]}Invalid request (validation_error, invalid_cursor, missing_idempotency_key)
object
object
Stable error code. Part of the contract.
Developer-oriented message in English
Correlation id; the same value as the X-Request-Id response header
Only for validation_error: which fields failed
object
Field that failed validation
What is wrong with the field
Example
{ "error": { "code": "validation_error", "message": "Request validation failed", "requestId": "3f6c2a0e-1b7d-4c55-9a52-2f6c1f0d9e11", "details": [ { "field": "monthlyRent", "issue": "must be a positive number" } ] }}Missing, invalid, expired or revoked credential
object
object
Stable error code. Part of the contract.
Developer-oriented message in English
Correlation id; the same value as the X-Request-Id response header
Only for validation_error: which fields failed
object
Field that failed validation
What is wrong with the field
Example
{ "error": { "code": "validation_error", "message": "Request validation failed", "requestId": "3f6c2a0e-1b7d-4c55-9a52-2f6c1f0d9e11", "details": [ { "field": "monthlyRent", "issue": "must be a positive number" } ] }}Missing scope (forbidden_scope) or product not available (product_not_available)
object
object
Stable error code. Part of the contract.
Developer-oriented message in English
Correlation id; the same value as the X-Request-Id response header
Only for validation_error: which fields failed
object
Field that failed validation
What is wrong with the field
Example
{ "error": { "code": "validation_error", "message": "Request validation failed", "requestId": "3f6c2a0e-1b7d-4c55-9a52-2f6c1f0d9e11", "details": [ { "field": "monthlyRent", "issue": "must be a positive number" } ] }}Resource not found (not_found)
object
object
Stable error code. Part of the contract.
Developer-oriented message in English
Correlation id; the same value as the X-Request-Id response header
Only for validation_error: which fields failed
object
Field that failed validation
What is wrong with the field
Example
{ "error": { "code": "validation_error", "message": "Request validation failed", "requestId": "3f6c2a0e-1b7d-4c55-9a52-2f6c1f0d9e11", "details": [ { "field": "monthlyRent", "issue": "must be a positive number" } ] }}Rate limit or daily quota exceeded; see Retry-After
object
object
Stable error code. Part of the contract.
Developer-oriented message in English
Correlation id; the same value as the X-Request-Id response header
Only for validation_error: which fields failed
object
Field that failed validation
What is wrong with the field
Example
{ "error": { "code": "validation_error", "message": "Request validation failed", "requestId": "3f6c2a0e-1b7d-4c55-9a52-2f6c1f0d9e11", "details": [ { "field": "monthlyRent", "issue": "must be a positive number" } ] }}