Finout Query Language API

Query MegaBill keys, values, and metadata for building filters

Operations 3

GET /megabill/query-language/keys Finout Get all MegaBill keys #
GET /megabill/query-language/values/{costCenter}/{key} Finout Get values for a MegaBill key #
GET /megabill/query-language/virtual-tags Finout Get MegaBill virtual tags #

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/finout-query-language-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

finout-query-language-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Finout Cost Query Language API
  description: The Finout API provides seamless access to powerful cloud cost management tools, enabling you to integrate, analyze, and optimize your cloud expenses. It includes endpoints for cost insights, tagging, forecasting, and more, empowering teams to automate workflows, track spending, and drive efficiency across cloud environments.
  version: 1.0.0
  contact:
    name: Finout
    url: https://www.finout.io/
  termsOfService: https://www.finout.io/
servers:
- url: https://app.finout.io/v1
  description: Finout Production API
security:
- clientId: []
  secretKey: []
tags:
- name: Query Language
  description: Query MegaBill keys, values, and metadata for building filters
paths:
  /megabill/query-language/keys:
    get:
      operationId: getMegaBillKeys
      summary: Finout Get all MegaBill keys
      description: Retrieves all MegaBill keys. This endpoint is used to understand the different building blocks of Finout's MegaFilter, and the information needed to build Virtual Tags and views.
      tags:
      - Query Language
      responses:
        '200':
          description: A list of MegaBill keys.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    key:
                      type: string
                    displayName:
                      type: string
                    costCenter:
                      type: string
        '401':
          description: Unauthorized.
        '429':
          description: Too many requests.
  /megabill/query-language/values/{costCenter}/{key}:
    get:
      operationId: getMegaBillKeyValues
      summary: Finout Get values for a MegaBill key
      description: Retrieves the available values for a specific MegaBill key within a cost center.
      tags:
      - Query Language
      parameters:
      - name: costCenter
        in: path
        required: true
        description: The cost center to query (e.g., AWS, GCP, Azure).
        schema:
          type: string
      - name: key
        in: path
        required: true
        description: The MegaBill key to retrieve values for.
        schema:
          type: string
      responses:
        '200':
          description: A list of values for the specified key.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '401':
          description: Unauthorized.
        '404':
          description: Key or cost center not found.
        '429':
          description: Too many requests.
  /megabill/query-language/virtual-tags:
    get:
      operationId: getMegaBillVirtualTags
      summary: Finout Get MegaBill virtual tags
      description: Retrieves virtual tags available in the MegaBill for use in filters and views.
      tags:
      - Query Language
      responses:
        '200':
          description: A list of virtual tags in MegaBill.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
        '401':
          description: Unauthorized.
        '429':
          description: Too many requests.
components:
  securitySchemes:
    clientId:
      type: apiKey
      in: header
      name: x-finout-client-id
      description: The Client ID generated from the Finout Admin Portal under API Tokens.
    secretKey:
      type: apiKey
      in: header
      name: x-finout-secret-key
      description: The Secret Key generated from the Finout Admin Portal under API Tokens. This value is only shown once at generation time.