# Sourcify — Show database stats

Get Sourcify signature database statistics via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Sourcify, configure supported query parameters and filters, and retrieve structured data including reported function-signature count, reported event-signature count, reported error-signature count, reported unclassified-signature count, and reported total signature count for database status panels, and coverage records.

Documentation: https://openany.si/market/apis/sourcify/sourcify-show-database-stats/?offering=8cf8af4a-dbb6-47b1-99f6-cf43686968d8
API ID: 8cf8af4a-dbb6-47b1-99f6-cf43686968d8
Provider: sourcify
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/sourcify/signature-database/v1/stats
Page update time: 2026-12-03T02:49:10.610Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:10.112Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Sourcify — Show database stats request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "result": {
      "type": "object",
      "properties": {
        "count": {
          "type": "object",
          "properties": {
            "error": {
              "type": "integer"
            },
            "event": {
              "type": "integer"
            },
            "function": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            },
            "unknown": {
              "type": "integer"
            }
          }
        },
        "metadata": {
          "type": "object",
          "properties": {
            "refreshed_at": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/sourcify/signature-database/v1/stats' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "ok": true,
  "result": {
    "count": {
      "error": 571749,
      "event": 1219170,
      "function": 4959728,
      "total": 10684484,
      "unknown": 3948039
    },
    "metadata": {
      "refreshed_at": "2026-10-29T07:22:03.335Z"
    }
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- sourcify: https://openany.si/market/apis/sourcify/sourcify-show-database-stats/?offering=8cf8af4a-dbb6-47b1-99f6-cf43686968d8

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
