# Fact

This endpoint retrieves a specific fact stored under a given namespace. List of [supported namespaces](https://docs.xrpscan.com/api-documentation/fact/fact) is available.

## Request

{% tabs %}
{% tab title="GET" %}

```
GET /api/v1/fact/{NAMESPACE_ID}/{FACT_ID}
```

{% endtab %}
{% endtabs %}

## Example

{% tabs %}
{% tab title="curl" %}

```
curl https://api.xrpscan.com/api/v1/fact/ObjectCount/AccountRoot
```

{% endtab %}
{% endtabs %}

## Response

{% tabs %}
{% tab title="JSON" %}

```json
{
  "value": "4720986"
}
```

{% endtab %}
{% endtabs %}
