For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

28-10-2026: Profiler Perp Positions Funding Fields Use Negative for Paid

POST /api/v1/profiler/perp-positions returned funding with the opposite sign to the rest of the API: a positive cumulative_funding_*_usd value meant the position paid funding. POST /api/v1/tgm/perp-positions and the Nansen app use negative for funding paid.

Each position in asset_positions[].position now has three new fields that use the same sign as the rest of the API. Negative means funding paid, positive means funding received.

Deprecated field (positive = paid)
New field (negative = paid)

cumulative_funding_since_open_usd

funding_since_open_usd

cumulative_funding_all_time_usd

funding_all_time_usd

cumulative_funding_since_change_usd

funding_since_change_usd

Each new field has the same amount as the deprecated field next to it, with the sign flipped. For example, a long that paid $1,080,576 in funding since it was opened now returns "funding_since_open_usd": "-1080576" and "cumulative_funding_since_open_usd": "1080576".

The deprecated fields keep their values and sign until they are removed, which will not happen before January 26, 2027. Switch to the new fields before then. Credit costs are unchanged.

Last updated

Was this helpful?