LLPRO Abc Inventory API

The abc-inventory API from LLPRO — 1 operation(s) for abc-inventory.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/abc_inventory_classes ABC Inventory Classes #
GET /api/v1/tools/abc_inventory_classes ABC Inventory Classes (query string) #

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/llpro-ai:llpro-ai-abc-inventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

llpro-ai-abc-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO Abc Inventory API
  version: '1'
  description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
  contact:
    email: support@llpro.ai
    url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: abc-inventory
paths:
  /api/v1/tools/abc_inventory_classes:
    post:
      operationId: abc_inventory_classes
      summary: ABC Inventory Classes
      description: 'Classify inventory items (SKUs) into A, B and C classes by their share of total annual value (ABC analysis, Pareto). Send up to 200 SKUs, each with its annual value, or its annual units and unit cost (annual value = units x cost). The default split is 80/15/5: class A is the top-ranked items up to and including the one that reaches 80% of annual value, class B the items after that up to the one that reaches 95%, class C the rest; send a_percent and b_percent to change it. Get back every SKU ranked by annual value with its share, cumulative share and class; per class the item count, share of items, value and share of value; and the cutoffs: the lowest annual value and the last rank in each class. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/abc-inventory). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.'
      tags:
      - abc-inventory
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - items
              properties:
                items:
                  description: 'Inventory items (up to 200). Each: sku, and either annual_value, or annual_units and unit_cost.'
                  type: array
                  minItems: 1
                  maxItems: 200
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - sku
                    properties:
                      sku:
                        description: SKU or item code (your own code; one line per SKU).
                        type: string
                        maxLength: 40
                      annual_value:
                        description: Annual value of the item (yearly usage or sales at cost, in one currency for all items). Leave out if you send annual_units and unit_cost.
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 1000000000000000.0
                      annual_units:
                        description: Units used or sold per year (send with unit_cost instead of annual_value).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 1000000000
                      unit_cost:
                        description: Cost per unit, up to 4 decimals (send with annual_units).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 1000000
                a_percent:
                  description: Share of total annual value that class A covers, in percent (default 80).
                  type:
                  - number
                  - string
                  minimum: 1
                  maximum: 99
                b_percent:
                  description: 'Share of total annual value that class B covers after A, in percent (default 15). Class C is the rest: 100 - a_percent - b_percent.'
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 99
                label:
                  description: Optional label for the list (your own text, echoed back; not a person).
                  type: string
                  maxLength: 40
      responses:
        '200':
          description: 'Tool result: {ok, tool, result, meta}'
        '402':
          description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
        '429':
          description: Rate limited
      x-mcp-annotations:
        title: ABC Inventory Classes
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: abc_inventory_classes_get
      summary: ABC Inventory Classes (query string)
      tags:
      - abc-inventory
      parameters:
      - name: items
        in: query
        required: true
        schema:
          description: 'Inventory items (up to 200). Each: sku, and either annual_value, or annual_units and unit_cost.'
          type: array
      - name: a_percent
        in: query
        required: false
        schema:
          description: Share of total annual value that class A covers, in percent (default 80).
          type:
          - number
          - string
          minimum: 1
          maximum: 99
      - name: b_percent
        in: query
        required: false
        schema:
          description: 'Share of total annual value that class B covers after A, in percent (default 15). Class C is the rest: 100 - a_percent - b_percent.'
          type:
          - number
          - string
          minimum: 0
          maximum: 99
      - name: label
        in: query
        required: false
        schema:
          description: Optional label for the list (your own text, echoed back; not a person).
          type: string
      responses:
        '200':
          description: Tool result
components:
  securitySchemes:
    agentId:
      type: apiKey
      in: header
      name: X-Agent-Id
      description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'