# Fincaraiz Project Details API Documentation

Scrappa's `GET /api/fincaraiz/project` returns one developer new-build project, addressed either by numeric `id` or by the public `ref` reference code taken from the project's own URL.

The record carries construction status (`percentage_sold`, `percentage_finished`), the target completion date, the builder and architect, the public link, and the image gallery.

Because the reference code can resolve to either a project or an individual listing, pass `type=property` when you expect a listing. An id or ref that does not resolve returns a non-billable 404.

This endpoint returns exactly one record, so `page` and `per_page` belong to `/api/fincaraiz/projects`. Passing either here is a non-billable `422` rather than a record that quietly ignores the pagination you asked for.

- **Documentation:** [https://scrappa.co/docs/fincaraiz-api/fincaraiz_project](https://scrappa.co/docs/fincaraiz-api/fincaraiz_project)
- **API group:** Fincaraiz API
- **Endpoint:** `GET https://scrappa.co/api/fincaraiz/project`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | No | Numeric project id. Either id or ref is required. |
| `ref` | string | No | Public project reference code from the project URL. Either id or ref is required. |
| `type` | string | No | project (default) or property, when resolving by ref. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/fincaraiz/project?id=2621770"
```

## Example response

```json
{
    "success": true,
    "project": {
        "id": "2621770",
        "title": "OIKOS SAVANNA, Casas en Venta en Cajica",
        "link": "proyectos/oikos-savanna-casas-en-venta-en-cajica/2621770",
        "percentage_sold": 40,
        "percentage_finished": 100,
        "builder": "Oikos",
        "images": [
            "https://cdn4.fincaraiz.com.co/repo/img/example.jpg"
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "project",
        "attempts": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream Unavailable | The upstream request failed after retries, or returned a response this endpoint cannot read (`upstream_unavailable`, `parser_drift`). Retryable and never billed. |
| 503 | Unreadable Response | The platform answered successfully with a body this endpoint cannot read, so nothing is published and nothing is charged (`parser_drift`). Retryable. |
| 422 | Validation Error | Neither id nor ref was supplied. Non-billable. |
| 422 | Unsupported Filter | An index filter such as page or per_page was supplied to this single-record endpoint (`unknown_filter`). Non-billable. |
| 404 | Project Not Found | No project exists for that id or reference code (`not_found`). Non-billable. |

## Frequently asked questions

### Why might a reference code return a listing instead of a project?

The reference code identifies a page, and a page can be a project or an individual listing. Pass type=property when you expect a listing.

## Related endpoints

- [Projects](https://scrappa.co/docs/fincaraiz-api/fincaraiz_projects)
- [Search](https://scrappa.co/docs/fincaraiz-api/fincaraiz_search)

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
