# UFC events API

Get UFC upcoming or past events with venue and card-segment times via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, status, and retrieve structured data including source event slug, source main-card timestamp, and next past-event page for event navigation, and calendar preparation.

Documentation: https://openany.si/market/apis/ufc/ufc-events-api/?offering=fa16d305-e6ae-43dd-b3a0-d08dcfc39aa0
API ID: fa16d305-e6ae-43dd-b3a0-d08dcfc39aa0
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/ufc/v1/events
Page update time: 2026-12-03T02:47:56.858Z
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.002 / billing credit
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:47:54.015Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UFC events API 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": {
        "status": {
          "type": "string",
          "description": "upcoming (default) or past.",
          "enum": [
            "upcoming",
            "past"
          ]
        },
        "page": {
          "type": "integer",
          "description": "Page of past events (8 per page)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "country": {
            "type": "string"
          },
          "date_text": {
            "type": "string"
          },
          "early_prelims": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "headline": {
            "type": "string"
          },
          "main_card": {
            "type": "string"
          },
          "prelims": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "venue": {
            "type": "string"
          }
        }
      }
    },
    "fetched_at": {
      "type": "string"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/ufc/v1/events?output=json&raw=0&status=past' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 8,
  "credits_used": 1,
  "events": [
    {
      "city": "New York",
      "country": "United States",
      "date_text": "Sat, Nov 14 / 9:00 PM EST",
      "early_prelims": "2026-11-14T22:00:00.000Z",
      "headline": "Gane vs Hokit",
      "main_card": "2026-11-15T02:00:00.000Z",
      "prelims": "2026-11-15T00:00:00.000Z",
      "region": "NY",
      "slug": "ufc-334",
      "url": "https://www.ufc.com/event/ufc-334",
      "venue": "Madison Square Garden"
    },
    {
      "city": "Las Vegas",
      "country": "United States",
      "date_text": "Sat, Nov 7 / 8:00 PM EST",
      "early_prelims": null,
      "headline": "Cortes Acosta vs Walker",
      "main_card": "2026-11-08T01:00:00.000Z",
      "prelims": "2026-11-07T22:00:00.000Z",
      "region": "NV",
      "slug": "ufc-fight-night-november-07-2026",
      "url": "https://www.ufc.com/event/ufc-fight-night-november-07-2026",
      "venue": "Meta APEX"
    },
    {
      "city": "Las Vegas",
      "country": "United States",
      "date_text": "Sat, Oct 31 / 8:00 PM EDT",
      "early_prelims": null,
      "headline": "Moicano vs Nolan",
      "main_card": "2026-11-01T00:00:00.000Z",
      "prelims": "2026-10-31T21:00:00.000Z",
      "region": "NV",
      "slug": "ufc-fight-night-october-31-2026",
      "url": "https://www.ufc.com/event/ufc-fight-night-october-31-2026",
      "venue": "Meta APEX"
    },
    {
      "city": null,
      "country": "United Arab Emirates",
      "date_text": "Sat, Oct 24 / 2:00 PM EDT",
      "early_prelims": "2026-10-24T14:00:00.000Z",
      "headline": "Volkanovski vs Evloev",
      "main_card": "2026-10-24T18:00:00.000Z",
      "prelims": "2026-10-24T16:00:00.000Z",
      "region": "Abu Dhabi",
      "slug": "ufc-333",
      "url": "https://www.ufc.com/event/ufc-333",
      "venue": "Etihad Arena"
    },
    {
      "city": "Edmonton",
      "country": "Canada",
      "date_text": "Sat, Oct 17 / 8:00 PM EDT",
      "early_prelims": null,
      "headline": "Buckley vs Malott",
      "main_card": "2026-10-18T00:00:00.000Z",
      "prelims": "2026-10-17T21:00:00.000Z",
      "region": "AB",
      "slug": "ufc-fight-night-october-17-2026",
      "url": "https://www.ufc.com/event/ufc-fight-night-october-17-2026",
      "venue": "Rogers Place"
    },
    {
      "city": "Las Vegas",
      "country": "United States",
      "date_text": "Sat, Oct 10 / 8:00 PM EDT",
      "early_prelims": null,
      "headline": "Allen vs Duncan",
      "main_card": "2026-10-11T00:00:00.000Z",
      "prelims": "2026-10-10T21:00:00.000Z",
      "region": "NV",
      "slug": "ufc-fight-night-october-10-2026",
      "url": "https://www.ufc.com/event/ufc-fight-night-october-10-2026",
      "venue": "Meta APEX"
    },
    {
      "city": "Salt Lake City",
      "country": "United States",
      "date_text": "Sat, Oct 3 / 8:00 PM EDT",
      "early_prelims": "2026-10-03T20:00:00.000Z",
      "headline": "Silva vs Wang",
      "main_card": "2026-10-04T00:00:00.000Z",
      "prelims": "2026-10-03T22:00:00.000Z",
      "region": "UT",
      "slug": "ufc-332",
      "url": "https://www.ufc.com/event/ufc-332",
      "venue": "Delta Center"
    },
    {
      "city": "Las Vegas",
      "country": "United States",
      "date_text": "Sat, Sep 26 / 8:00 PM EDT",
      "early_prelims": null,
      "headline": "Rosas Jr. vs Barcelos",
      "main_card": "2026-09-27T00:00:00.000Z",
      "prelims": "2026-09-26T21:00:00.000Z",
      "region": "NV",
      "slug": "ufc-fight-night-september-26-2026",
      "url": "https://www.ufc.com/event/ufc-fight-night-september-26-2026",
      "venue": "Meta APEX"
    }
  ],
  "fetched_at": "2026-11-19T12:23:44.804Z",
  "next_page": 2,
  "page": 1,
  "status": "past",
  "total": 802
}
```

## 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
- apish: https://openany.si/market/apis/ufc/ufc-events-api/?offering=fa16d305-e6ae-43dd-b3a0-d08dcfc39aa0

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