# Basis: published yield vs the funding a hedge locks

Endpoint reference for the 1delta API. Index: https://docs.1delta.io/llms.txt · every endpoint: https://docs.1delta.io/llms-full.txt

---

### GET /v1/data/boros/basis

- operationId: `boros-basis`
- docs: https://docs.1delta.io/1delta-api/boros-basis/
- markdown: https://docs.1delta.io/1delta-api/boros-basis.md
- tags: Boros (Data)

Basis: published yield vs the funding a hedge locks

How closely a funding-dollar's published yield (sUSDe for `ethena`, wstUSR for `resolv`) tracks the Boros funding its hedge would lock. Per UTC day: the intrinsic APR, the profile's funding (Σ asset weight × mean over the profile's venues Boros carries that day; NULL when an asset has none), its 7-day trailing mean, the gap and the legs. Over the window: mean gap, tracking error (st.dev. of the gap), correlation and beta of the yield on the 7-day funding. A low correlation means the lock is a weak hedge for that yield — the basis risk every `hedge` quote states.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profile` | query | "ethena" \| "resolv" | yes | Funding-exposure profile |
| `assetGroup` | query | string | no | Intrinsic asset group to compare (default per profile) |
| `days` | query | string | no | Window length in days (default 90, max 400) |
| `from` | query | string | no | Window start, unix seconds or ISO |
| `to` | query | string | no | Window end, unix seconds or ISO |

**Response `200`** — `{ profile, assetGroup, stats, series[] }`

| Field | Type | Description |
| --- | --- | --- |
| `success` | true |  |
| `data` | object | Informational payload. `null` when the endpoint only builds calldata. |
| `actions` | null |  |

**Example response**

```json
{
  "success": true,
  "data": {}
}
```

**Response `400`** — Validation error

**Response `429`** — Rate limited. Unauthenticated callers share a per-IP budget; send an `x-api-key` header to lift it. Retry with exponential backoff.

**Response `500`** — Unexpected server error. Safe to retry with backoff.

**Response `502`** — An upstream data source or protocol origin failed (`error.code` is `ORIGIN_FAILED`). `error.details` carries the per-origin status. This is also what a missing or malformed required parameter currently returns, rather than a 400.
