Zaira Labs Compare API

The Compare API from Zaira Labs, for compare.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /compare Compare 2-3 tools side by side #

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/zairalabs-ai:zairalabs-ai-compare-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

zairalabs-ai-compare-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zaira Labs Compare API
  version: 1.0.0
  description: 'Agent-ready developer tool guide. Search, filter, and compare tools evaluated against the Zaira Standard.


    **Test mode.** The API is read-only — the production endpoint is the sandbox. Append `?test=true` to any read endpoint to mark a request as a dry-run from the caller''s perspective. The response shape is identical except `meta.testMode` is set to `true`, so integrations can verify request shape and response parsing without ambiguity. There is no separate sandbox URL or test credentials because none are needed.'
  contact:
    name: Zaira Labs
    url: https://zairalabs.ai
servers:
- url: https://zairalabs.ai/guide/api/v1
tags:
- name: Compare
paths:
  /compare:
    get:
      operationId: compareTools
      x-risk-tier: read-only
      summary: Compare 2-3 tools side by side
      description: 'Returns full details for 2 or 3 tools for side-by-side comparison.


        Edge cases:

        - Cross-category comparisons are allowed but rarely useful — prefer same-category comparisons for ''which should I pick?'' questions.

        - Invalid or unknown slugs are listed in `meta.missing`; the comparison still returns for the valid ones.

        - Fewer than 2 or more than 3 slugs produces a 400 validation error.'
      parameters:
      - name: tools
        in: query
        required: true
        schema:
          type: string
        example: meilisearch-oss,algolia
        description: 'Comma-separated slugs (2-3). Same-category examples: `meilisearch-oss,algolia` or `redis-cloud,redis-oss`. Cross-category is allowed but rarely useful.'
      responses:
        '200':
          description: Full details for requested tools. Tools that didn't resolve are listed in `meta.missing`; the comparison still returns for the ones that did. When zero of the requested slugs resolve, the response is still 200 with an empty `data` array and every slug in `meta.missing`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      anyOf:
                      - $ref: '#/components/schemas/ToolDetail'
                      - $ref: '#/components/schemas/LanguageDetail'
                      - $ref: '#/components/schemas/LibraryDetail'
                  meta:
                    $ref: '#/components/schemas/BaseMeta'
        '400':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '504':
          $ref: '#/components/responses/ServiceTimeout'
      tags:
      - Compare
components:
  schemas:
    LanguageDetail:
      type: object
      description: 'A programming language''s entry (entryKind `language`), returned by GET /tools/{slug} and GET /compare for a language slug: steward, licence, traits, supported versions with end-of-life dates and a status computed for today, breaking changes by release, the toolchain, and when to use it and when not. Carries none of a tool''s pricing, deployment or agent-readiness fields.'
      required:
      - entryKind
      - slug
      - name
      properties:
        kind:
          type: string
          enum:
          - language
          description: Kept for callers of 2026-10-16; entryKind is the catalog-wide field.
        entryKind:
          type: string
          enum:
          - language
        slug:
          type: string
        name:
          type: string
        tagline:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        category:
          type:
          - string
          - 'null'
          enum:
          - language
          - null
    LibraryDetail:
      type: object
      description: 'A library''s entry (entryKind `library`), returned by GET /tools/{slug} and GET /compare for a library slug: the package and its install line, steward, licence, the latest release and the major lines still supported, breaking changes by release (each with readable release-notes links), runtime requirements, security advisory counts, lifecycle, and when to use it and when not. Carries none of a tool''s pricing, deployment or agent-readiness fields.'
      required:
      - entryKind
      - slug
      - name
      properties:
        kind:
          type: string
          enum:
          - library
          description: Kept for symmetry with LanguageDetail; entryKind is the catalog-wide field.
        entryKind:
          type: string
          enum:
          - library
        slug:
          type: string
        name:
          type: string
        tagline:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        category:
          type:
          - string
          - 'null'
          description: The topic the library belongs to, for example `http-clients`.
        ecosystem:
          type:
          - string
          - 'null'
          description: The package registry the library is published to, for example `pypi` or `npm`.
        package:
          type:
          - object
          - 'null'
          description: The package's name and registry page.
        install:
          type:
          - string
          - 'null'
          description: The command that installs the library.
        language:
          type:
          - string
          - 'null'
          description: Slug of the language entry the library is written for.
        steward:
          type:
          - object
          - 'null'
          description: Who maintains the library.
        license:
          type:
          - string
          - 'null'
        licenseStatement:
          type:
          - object
          - 'null'
          description: 'For a license with a part SPDX has no id for (a dual or commercial offer, named with a `LicenseRef-` in `license`): the project''s own words (`text`) and where to read them (`url`).'
        latestVersion:
          type:
          - object
          - 'null'
          description: 'The newest release from the registry: version and release date.'
        majors:
          type: array
          items:
            type: object
          description: Major lines, newest first, with their support state.
        runtimeRequirements:
          type:
          - object
          - 'null'
          description: Language and runtime versions the latest release needs.
        deprecation:
          type:
          - object
          - 'null'
          description: Whether the registry marks the package deprecated, and its message.
        breakingChanges:
          type: array
          items:
            type: object
          description: Breaking changes by release; `releaseNotes` carries readable links to the notes.
        typesShipped:
          type:
          - object
          - boolean
          - 'null'
          description: Whether the package ships its own type definitions.
        provenance:
          type:
          - object
          - 'null'
          description: Whether releases carry build provenance.
        supportedRuntimes:
          type: array
          items:
            type: string
        useWhen:
          type: array
          items:
            type: string
        avoidWhen:
          type: array
          items:
            type: string
        bestFor:
          type: array
          items:
            type: string
        tradeoffs:
          type: array
          items:
            type: string
        alternatives:
          type: array
          items:
            type: object
        worksWith:
          type: array
          items:
            type: object
        githubStars:
          type:
          - integer
          - 'null'
        contributorCount:
          type:
          - integer
          - 'null'
        busFactor:
          type:
          - integer
          - number
          - 'null'
        lastCommit:
          type:
          - string
          - 'null'
        openssfScorecard:
          type:
          - number
          - object
          - 'null'
        monthlyDownloads:
          type:
          - integer
          - 'null'
        dependentPackages:
          type:
          - integer
          - 'null'
        securityAdvisories:
          type:
          - integer
          - 'null'
          description: Count of published advisories.
        securityAdvisoryIds:
          type: array
          items:
            type: string
        securityAdvisoriesUrl:
          type:
          - string
          - 'null'
        lifecycle:
          type:
          - object
          - 'null'
          description: Lifecycle status (for example `ended`) with a note.
        url:
          type:
          - string
          - 'null'
        docsUrl:
          type:
          - string
          - 'null'
        repository:
          type:
          - string
          - 'null'
        faqs:
          type: array
          items:
            type: object
        lastVerified:
          type:
          - string
          - 'null'
          description: ISO date the entry was last checked against live sources.
        sources:
          type: array
          items:
            type: string
          description: The kinds of source the values come from, the same list for every library; the guide does not list per-entry source addresses.
    ToolDetail:
      type: object
      description: Complete tool entry with decision logic, constraints, health metrics, and agent-readiness data. Returned by GET /tools/{slug} and GET /compare. Cross-reference fields (alternatives, worksWith) are enriched with tagline + agent-readiness when the slug resolves so a single round trip carries enough triage data for follow-up routing.
      properties:
        entryKind:
          type: string
          enum:
          - tool
        slug:
          type: string
        name:
          type: string
        tagline:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
          description: 2-3 sentences describing what the tool is, who it's for, what makes it distinctive.
        vendor:
          type:
          - string
          - 'null'
        category:
          type:
          - string
          - 'null'
        secondaryCategories:
          type:
          - array
          - 'null'
          items:
            type: string
        artifactKind:
          type:
          - string
          - 'null'
          enum:
          - open_source
          - managed_service
          - null
        url:
          type:
          - string
          - 'null'
          format: uri
          description: Tool homepage.
        docsUrl:
          type:
          - string
          - 'null'
          format: uri
        repositoryUrl:
          type:
          - string
          - 'null'
          format: uri
        install:
          type:
          - string
          - 'null'
          description: Primary install command, single ecosystem (e.g., `npm install stripe`).
        pricingModel:
          type:
          - string
          - 'null'
          enum:
          - free
          - freemium
          - paid
          - null
        hasFreeTier:
          type:
          - boolean
          - 'null'
        minFreeTier:
          type:
          - string
          - 'null'
          description: What the free tier actually includes.
        trialCredits:
          type:
          - string
          - 'null'
          description: One-time credits or time-limited trials for new customers (never standing allowances).
        pricingUrl:
          type:
          - string
          - 'null'
          format: uri
        statusUrl:
          type:
          - string
          - 'null'
          format: uri
        ardCatalogUrl:
          type:
          - string
          - 'null'
          format: uri
          description: The vendor's published ARD (Agentic Resource Discovery) capability manifest (ai-catalog.json), fetched and shape-validated during ingestion.
        license:
          type:
          - string
          - 'null'
          description: SPDX identifier for open-source; 'Proprietary' for closed-source; mixed strings (e.g., 'MIT (SDK), Proprietary (service)') for hybrids.
        deployment:
          type:
          - array
          - 'null'
          items:
            type: string
        languages:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Languages the tool itself is written in or natively supports.
        sdkLanguages:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Languages with official SDK support.
        edgeCompatible:
          type:
          - boolean
          - 'null'
        selfHostable:
          type:
          - boolean
          - 'null'
        mcpSupport:
          type:
          - string
          - 'null'
          enum:
          - none
          - community
          - official
          - null
        mcpServerUrl:
          type:
          - string
          - 'null'
          format: uri
          description: 'The MCP server an agent connects to when mcpSupport is `community` or `official`: the verified remote endpoint, otherwise the repository or package for a locally run server. Never a docs page.'
        mcpDocsUrl:
          type:
          - string
          - 'null'
          format: uri
          description: The vendor's own MCP docs or setup page, when one is live and on-topic. Complements mcpServerUrl; never a substitute for it.
        compliance:
          type:
          - array
          - 'null'
          items:
            type: string
        lifecycle:
          type:
          - object
          - 'null'
          description: Whether the product is still a going concern. null for an active tool; otherwise the status (maintenance mode, deprecated, or ended), its dates, the successors the vendor names (with a guide slug when the successor has an entry), and the vendor's own notice as `source`.
          required:
          - status
          - source
          properties:
            status:
              type: string
              enum:
              - maintenance
              - deprecated
              - ended
            since:
              type: string
              format: date
              description: When the status began or was announced.
            endDate:
              type: string
              format: date
              description: The announced or actual end of the product or its support.
            successors:
              type: array
              items:
                type: object
                required:
                - name
                properties:
                  name:
                    type: string
                  slug:
                    type: string
                    description: The successor's guide slug, when it has an entry.
                  url:
                    type: string
                    format: uri
            source:
              type: string
              format: uri
              description: The vendor's own notice.
            note:
              type: string
              maxLength: 280
        useWhen:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 3-5 specific conditions where this tool is the right choice.
        avoidWhen:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 2-4 specific conditions where this tool is the wrong choice.
        bestFor:
          type:
          - array
          - 'null'
          items:
            type: string
        tradeoffs:
          oneOf:
          - type: array
            items:
              type: string
          - type: object
            properties:
              pros:
                type: array
                items:
                  type: string
              cons:
                type: array
                items:
                  type: string
          - type: 'null'
          description: Balanced tradeoff claims — either a flat list or {pros, cons}.
        faqs:
          type:
          - array
          - 'null'
          items:
            type: object
            properties:
              question:
                type: string
              answer:
                type: string
          description: Five question/answer pairs grounded in the entry's own decision data.
        alternatives:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EnrichedRelatedTool'
          description: Comparable tools the agent could route to instead. Enriched with tagline + agent-readiness when slug resolves.
        worksWith:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EnrichedRelatedTool'
          description: Tools this integrates well with. Enriched with tagline + agent-readiness when slug resolves.
        conflictsWith:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/RelatedTool'
          description: Known incompatibilities. Negative references — never carry a slug, never enriched (we don't route traffic toward an incompatibility).
        githubStars:
          type:
          - integer
          - 'null'
        githubForks:
          type:
          - integer
          - 'null'
        monthlyDownloads:
          type:
          - integer
          - 'null'
        latestRelease:
          type:
          - string
          - 'null'
          description: ISO 8601 date.
        lastCommit:
          type:
          - string
          - 'null'
          description: ISO 8601 date.
        contributorCount:
          type:
          - integer
          - 'null'
        busFactor:
          type:
          - integer
          - 'null'
        dependentPackages:
          type:
          - integer
          - 'null'
        openssfScorecard:
          type:
          - number
          - 'null'
          description: OpenSSF Scorecard score, 0-10.
        securityAdvisories:
          type:
          - integer
          - 'null'
        securityAdvisoryIds:
          type:
          - array
          - 'null'
          maxItems: 10
          description: Up to 10 of the advisories behind securityAdvisories, newest first. null when the entry has no advisory count or the count is zero.
          items:
            type: object
            required:
            - id
            - url
            properties:
              id:
                type: string
                description: The advisory id (GHSA over CVE over the source's own id).
              severity:
                type: string
                enum:
                - critical
                - high
                - moderate
                - medium
                - low
              published:
                type: string
                format: date
                description: When the advisory was published.
              url:
                type: string
                format: uri
        securityAdvisoriesUrl:
          type:
          - string
          - 'null'
          format: uri
          description: 'The full advisory list: the repository''s GitHub advisories page or an OSV list. null with securityAdvisoryIds.'
        repoArchived:
          type:
          - boolean
          - 'null'
          description: Open-source lane only. true when the source repository is archived (read-only on GitHub). null otherwise; false is never returned.
        versionTable:
          type:
          - object
          - 'null'
          description: The version table of the releases this tool ships, on the few tools that ship a language's releases (.NET for C#, Node.js for JavaScript). null on every other tool.
          properties:
            supportModel:
              type: string
              enum:
              - fixed_windows
              - last_n
              - latest_only
              - set_by_runtime
              - none_published
            supportedCount:
              type:
              - integer
              - 'null'
            statusAsOf:
              type: string
              format: date
              description: 'The day each version''s status was computed for: the day of the request.'
            versions:
              type: array
              items:
                type: object
                properties:
                  cycle:
                    type: string
                  released:
                    type: string
                    format: date
                  latest:
                    type:
                    - string
                    - 'null'
                  latestReleased:
                    type:
                    - string
                    - 'null'
                    format: date
                  activeSupportUntil:
                    type:
                    - string
                    - 'null'
                    format: date
                  eol:
                    type:
                    - string
                    - 'null'
                    format: date
                  lts:
                    type: boolean
                  status:
                    type: string
                    enum:
                    - not_yet_released
                    - supported
                    - security_fixes_only
                    - end_of_life
                    - not_stated
            versionsSource:
              type:
              - string
              - 'null'
              format: uri
            versionsAsOf:
              type:
              - string
              - 'null'
              format: date
        agentReadinessTier:
          type:
          - string
          - 'null'
          enum:
          - base
          - agent_ready
          - agent_native
          - none
          - null
          description: Snake-case canonical value. `none` means not yet evaluated.
        agentReadinessScore:
          type:
          - number
          - 'null'
          description: Overall Zaira score, 0-100.
        agentReadinessSections:
          type:
          - object
          - 'null'
          description: 'Base Standard section scores (0-100): documentationUsability (criteria B1-B7), provenanceDisclosure (B8-B9), lifecycleHealth (B10-B15).'
          properties:
            documentationUsability:
              type: number
            provenanceDisclosure:
              type: number
            lifecycleHealth:
              type: number
        activatedModules:
          type:
          - array
          - 'null'
          items:
            type: string
        moduleScores:
          type:
          - object
          - 'null'
          additionalProperties:
            type: number
        sources:
          type: array
          items:
            type: string
          description: Data provenance categories (e.g. official documentation, package registries). Static per artifactKind, not a per-tool list.
        lastVerified:
          type:
          - string
          - 'null'
          description: ISO 8601 date.
    EnrichedRelatedTool:
      allOf:
      - $ref: '#/components/schemas/RelatedTool'
      - type: object
        description: Adds triage fields when the slug resolves to a guide entry, so agents can prioritize candidates without a follow-up GET. Only present in alternatives and worksWith on /tools/{slug} and /tools/{slug}/alternatives responses.
        properties:
          tagline:
            type:
            - string
            - 'null'
            description: Short description of the referenced tool.
          agentReadinessTier:
            type:
            - string
            - 'null'
            enum:
            - base
            - agent_ready
            - agent_native
            - none
            - null
          agentReadinessScore:
            type:
            - number
            - 'null'
    BaseMeta:
      type: object
      properties:
        apiVersion:
          type: string
        testMode:
          type: boolean
          description: Set to `true` when the request included `?test=true`. The API is read-only and has no destructive surface, so the production endpoint is the sandbox; this flag echoes the caller's dry-run intent so integrations can verify request shape and response parsing without ambiguity. Absent on non-test requests.
    Problem:
      type: object
      description: Error response following RFC 9457 (Problem Details for HTTP APIs) with Zaira extensions for machine-actionable recovery.
      required:
      - type
      - title
      - status
      - detail
      - documentationUrl
      - category
      - is_retriable
      - recovery
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        documentationUrl:
          type: string
          format: uri
        category:
          type: string
          enum:
          - validation
          - not_found
          - rate_limit
          - service_unavailable
          - server_error
          description: Abstract error family. Intentionally tech-agnostic so responses never signal the service's internal stack.
        is_retriable:
          type: boolean
          description: True when the caller can safely retry the same request after a delay.
        retry_after_seconds:
          type: integer
          description: Suggested delay before retrying, in seconds. Present when is_retriable is true. Mirrors the Retry-After header for rate-limit and service-unavailable responses.
        recovery:
          type: array
          items:
            type: string
          description: Ordered, generic recovery steps the caller can take. Numbered/ordered by their position in the array.
        errors:
          type: array
          description: Field-level validation issues (only present on validation errors).
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
    RelatedTool:
      type: object
      description: Cross-reference to another tool. `slug` is present only when the referenced tool exists in the guide — agents can chain to GET /tools/{slug} for full detail. Negative references (conflictsWith) never carry a slug.
      required:
      - name
      - type
      properties:
        name:
          type: string
          description: Display name of the referenced tool.
        type:
          type: string
          description: Short category descriptor so the agent knows what kind of tool this is without clicking through (e.g., 'Serverless Postgres').
        slug:
          type: string
          description: Resolved slug into the guide. Absent when the referenced tool isn't yet in the catalog.
        reason:
          type: string
          description: One sentence on when to choose this alternative / why it pairs / why it conflicts.
        context:
          type: string
          description: Optional scoping clause — when the assertion applies (e.g., 'serverless functions only').
  responses:
    RateLimited:
      description: 'Rate limit exceeded. Two buckets per client IP: a global 60/min cap on all endpoints, plus a 20/min cap on expensive endpoints (/search, /compare, /tools/{slug}). Either bucket can trigger a 429. `Problem.is_retriable` is true; honor the Retry-After header.'
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying
        RateLimit-Limit:
          schema:
            type: integer
          description: Maximum requests allowed per window
        RateLimit-Policy:
          schema:
            type: string
          description: Rate limit policy. On expensive endpoints includes both buckets, e.g. '60;w=60, 20;w=60'.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    ValidationError:
      description: Request parameters failed validation. `Problem.errors` carries per-field issues (`path`, `message`); `Problem.recovery` points to the OpenAPI spec for valid values. Not retriable — caller should correct the request.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    ServerError:
      description: Unexpected server error. `Problem.is_retriable` is true; retry after a brief delay. If persistent, narrow the request scope.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    ServiceTimeout:
      description: Request exceeded the allowed processing time. `Problem.is_retriable` is true; retry after a brief delay. For free-text queries, try narrower terms.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
x-rateLimit:
  buckets:
  - scope: all endpoints
    limit: 60
    window: 60
    unit: requests per minute per IP
  - scope: expensive endpoints (/search, /compare, /tools/{slug})
    limit: 20
    window: 60
    unit: requests per minute per IP
    note: Consumed in addition to the global 60/min bucket.
  description: Two rate-limit buckets keyed on client IP. A global cheap bucket caps overall request rate. An expensive bucket adds a tighter cap on full-text search, side-by-side comparison, and full tool-detail reads — these touch FTS or parse complete records. Responses include RateLimit-Limit and RateLimit-Policy headers; 429 responses also carry Retry-After.