# USDF Locks API

**Canonical:** https://apis.io/apis/usdf-fi/usdf-fi-locks-api/  
**Provider:** USDF — https://apis.io/providers/usdf-fi/  
**Base URL:** https://api.usdf.fi  
**Documentation:** https://docs.usdf.fi/

USDF Locks API is one of 50 APIs that [USDF](https://apis.io/providers/usdf-fi/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Locks. The published artifact set on APIs.io includes an OpenAPI specification.

Compute locks: per model and month, a lock token whose whole token is a million tokens of the model at the series' locked price until the month ends. Buy it from Foundry at the locked price (a quote, then a buy within max_total), spend it on compute (requests from the holder's own keys use lock tokens instead of charging the balance, used up as the model serves them), and move it to your own wallet and back. The series' provider is paid as tokens are used and posts a bond; a failed quality probe of its source pays the series' holders in compute credit, never USDF.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/locks` | Compute locks |
| GET | `/v1/locks/series/{id}` | One series |
| POST | `/v1/locks/quote` | Quote lock tokens |
| POST | `/v1/locks/orders` | Buy lock tokens |
| DELETE | `/v1/locks/orders/{id}` | Cancel an order |
| GET | `/v1/locks/mine` | Your locks |
| POST | `/v1/locks/holdings/{series}/withdraw` | Lock tokens to your wallet |
| POST | `/v1/locks/deposits` | Lock tokens back from your wallet |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/usdf-fi/openapi/usdf-fi-locks-api-openapi.yml

## Other USDF APIs (12)

- [USDF Account API](https://apis.io/apis/usdf-fi/usdf-fi-account-api/)
- [USDF Agent files API](https://apis.io/apis/usdf-fi/usdf-fi-agent-files-api/)
- [USDF Agents API](https://apis.io/apis/usdf-fi/usdf-fi-agents-api/)
- [USDF Agents earn API](https://apis.io/apis/usdf-fi/usdf-fi-agents-earn-api/)
- [USDF Apps API](https://apis.io/apis/usdf-fi/usdf-fi-apps-api/)
- [USDF Audio API](https://apis.io/apis/usdf-fi/usdf-fi-audio-api/)
- [USDF Batch API](https://apis.io/apis/usdf-fi/usdf-fi-batch-api/)
- [USDF Chat API](https://apis.io/apis/usdf-fi/usdf-fi-chat-api/)
- [USDF Decisions API](https://apis.io/apis/usdf-fi/usdf-fi-decisions-api/)
- [USDF Embeddings API](https://apis.io/apis/usdf-fi/usdf-fi-embeddings-api/)
- [USDF Fees API](https://apis.io/apis/usdf-fi/usdf-fi-fees-api/)
- [USDF Files API](https://apis.io/apis/usdf-fi/usdf-fi-files-api/)

## Tags

Locks

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/usdf-fi` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/usdf-fi/usdf-fi-locks-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/usdf-fi/.
