Skip to content

Monetise my API

Your API is deployed. Now you want consumers using it — with subscriptions, credentials, metering, and cost visibility.

  • A deployed API on Apiway (ship one first if you haven’t)
  • At least one consumer (internal team or external partner)
  1. Define your SLA tiers

    Set what consumers get at each level — rate limits, throughput, support, and pricing.

    Terminal window
    curl -X POST https://core.api.apiway.net/v1/apis/{id}/sla \
    -H "Authorization: Bearer $TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
    "tiers": [
    { "name": "Free", "rateLimit": 100, "unit": "minute" },
    { "name": "Standard", "rateLimit": 1000, "unit": "minute" },
    { "name": "Enterprise", "rateLimit": 10000, "unit": "minute" }
    ]
    }'

    Tiers are enforced at the gateway. No custom code. See OpenSLA for the full specification.

  2. Publish to your marketplace

    Make the API discoverable in your developer portal:

    Terminal window
    curl -X POST https://core.api.apiway.net/v1/apis/{id}/publish \
    -H "Authorization: Bearer $TOKEN"

    Consumers can browse documentation, try endpoints in the sandbox, and subscribe — all self-service.

  3. Consumers subscribe

    When a consumer subscribes, the platform:

    • Creates credentials (OAuth 2.0 client or API key)
    • Applies the selected SLA tier
    • Configures gateway enforcement
    • Starts metering from the first request

    No manual provisioning. No shared API keys. Every consumer gets their own credentials.

  4. Track usage and costs

    Every request is metered as resource units:

    Terminal window
    curl https://core.api.apiway.net/v1/apis/{id}/metering \
    -H "Authorization: Bearer $TOKEN"

    See consumption per consumer, per operation, per time period.

  5. See your P&L

    The Wealth Engine aggregates revenue (what consumers pay) against cost (what your downstream dependencies cost you):

    Terminal window
    curl https://core.api.apiway.net/v1/wealth-engine/apis/{id} \
    -H "Authorization: Bearer $TOKEN"

    Margin per API. Per consumer. Per month. The CFO can finally see which APIs make money and which ones don’t.

  • Self-service consumer onboarding — no manual credential sharing
  • SLA enforcement — rate limits applied per tier at the gateway
  • Per-consumer metering — usage tracked automatically
  • Cost centre P&L — revenue vs. cost per API, per consumer
  • Credential lifecycle — expiry tracking and proactive rotation alerts