# Last Price PCN Usage API

**Canonical:** https://apis.io/apis/last-price-ai/last-price-ai-pcn-usage-api/  
**Provider:** Last Price — https://apis.io/providers/last-price-ai/  
**Base URL:** https://api.last-price.ai  
**Documentation:** https://last-price.ai/api-docs

Last Price PCN Usage API is one of 49 APIs that [Last Price](https://apis.io/providers/last-price-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include PCN Usage. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

Token-metered usage summary and event log for billing

## Operations (12)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/pricing/preview` | Your own pricing functions with today's prices, for a price-change preview |
| POST | `/api/pricing/preview` | Preview a price change over your functions' past calls |
| GET | `/api/usage` | Get usage summary |
| GET | `/api/usage/events` | Get usage events |
| GET | `/api/receipts` | Get receipts for many priced calls |
| POST | `/api/receipts/verify` | Verify a signed receipt snapshot or complete export page |
| GET | `/api/receipts/{id}` | Get the receipt for one priced call |
| PATCH | `/api/usage/events/{id}/outcome` | Record a usage event's outcome |
| GET | `/api/usage/breakdown` | Get usage breakdown by function |
| GET | `/api/usage/llm` | Get AI (LLM) feature usage |
| GET | `/api/usage/llm/events` | Get individual AI (LLM) usage events |
| PATCH | `/api/usage/llm/events/{id}/outcome` | Record an AI usage event's outcome |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/last-price-ai/openapi/last-price-ai-pcn-usage-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/last-price-ai/json-schema/last-price-ai-usage-event-schema.json

## Other Last Price APIs (12)

- [Last Price Agents API](https://apis.io/apis/last-price-ai/last-price-ai-agents-api/)
- [Last Price API Keys API](https://apis.io/apis/last-price-ai/last-price-ai-api-keys-api/)
- [Last Price Approvals API](https://apis.io/apis/last-price-ai/last-price-ai-approvals-api/)
- [Last Price Audit API](https://apis.io/apis/last-price-ai/last-price-ai-audit-api/)
- [Last Price Auth API](https://apis.io/apis/last-price-ai/last-price-ai-auth-api/)
- [Last Price Authentication API](https://apis.io/apis/last-price-ai/last-price-ai-authentication-api/)
- [Last Price Billing API](https://apis.io/apis/last-price-ai/last-price-ai-billing-api/)
- [Last Price Blocks API](https://apis.io/apis/last-price-ai/last-price-ai-blocks-api/)
- [Last Price Commerce API](https://apis.io/apis/last-price-ai/last-price-ai-commerce-api/)
- [Last Price Compute API](https://apis.io/apis/last-price-ai/last-price-ai-compute-api/)
- [Last Price Contacts API](https://apis.io/apis/last-price-ai/last-price-ai-contacts-api/)
- [Last Price Costs API](https://apis.io/apis/last-price-ai/last-price-ai-costs-api/)

## Tags

PCN Usage

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/last-price-ai` 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/last-price-ai/last-price-ai-pcn-usage-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/last-price-ai/.
