Structify usage API

The usage API from Structify — 2 operation(s) for usage.

Operations 2

GET /user/transactions/list #
GET /user/usage Returns usage statistics for the user. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/structify-usage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

structify-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: team@structify.ai
    name: Structify Team
  description: Every enterprise's data team.
  license:
    name: Discuss directly with founders for license.
    url: https://structify.ai
  title: Structify account Usage API
  version: 0.1.0
servers:
- description: Production server
  url: https://api.structify.ai
- description: Local server
  url: http://localhost:8080
security:
- api_key: []
- session_token: []
tags:
- name: usage
paths:
  /user/transactions/list:
    get:
      operationId: user_transactions
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Transaction'
                type: array
          description: Got the transactions
      tags:
      - usage
  /user/usage:
    get:
      operationId: user_usage
      parameters:
      - in: query
        name: dataset
        required: false
        schema:
          type:
          - string
          - 'null'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageStatistics'
          description: Responded with user statstics
      security:
      - session_token: []
      - api_key: []
      summary: Returns usage statistics for the user.
      tags:
      - usage
components:
  schemas:
    UsageStatistics:
      properties:
        credits_used:
          format: int64
          type: integer
        num_entities:
          minimum: 0
          type: integer
        num_relationships:
          minimum: 0
          type: integer
      required:
      - num_entities
      - num_relationships
      - credits_used
      type: object
    MembershipId:
      format: uuid
      type: string
    TransactionId:
      format: uuid
      type: string
    CreditGrantId:
      format: uuid
      type: string
    Transaction:
      description: Represents a transaction in our database.
      properties:
        amount:
          format: int64
          type: integer
        credit_grant_id:
          allOf:
          - $ref: '#/components/schemas/CreditGrantId'
        id:
          $ref: '#/components/schemas/TransactionId'
        job_id:
          allOf:
          - $ref: '#/components/schemas/JobId'
        membership_id:
          $ref: '#/components/schemas/MembershipId'
        timestamp:
          format: date-time
          type: string
      required:
      - id
      - amount
      - timestamp
      - membership_id
      type: object
    JobId:
      format: uuid
      type: string
  securitySchemes:
    api_key:
      in: header
      name: api_key
      type: apiKey
    session_token:
      scheme: bearer
      type: http