swagger: '2.0' info: description: 'This is Genius Sports Services Fixture API.

Changelog resume

Authentication

You need to provide two tokens in every API call. The access_token for Auth0 client AND your API key

What is new in Fixtures API v2.

Fixture Tree Structure

Examples

I am interested in round 2 fixtures for the English Premier League


I am interested in Arsenal and their players

' version: 2.0.280 title: Fixtures-v2 Competitions Pending requests API contact: email: sbonboarding@geniussports.com license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html host: fixtures.api.geniussports.com basePath: /v2 schemes: - https tags: - name: Pending requests paths: /matchrequests/status/{id}: get: tags: - Pending requests summary: Retrieve match requests by the provided parameters produces: - application/json parameters: - name: x-api-key in: header required: true type: string - name: gs-fixtures-api-sub-source in: header description: Sub Source Name required: false type: string - name: id in: path description: Contains the id of the pending match request that want to be retrieved. GUID required: true type: string responses: '200': description: 200 response schema: $ref: '#/definitions/pendingMatchRequestStatusResponseModel' '520': description: Unknown error schema: $ref: '#/definitions/ErrorModel' '400': description: Bad request schema: $ref: '#/definitions/BadRequestModel' '500': description: Internal Server Error schema: $ref: '#/definitions/ErrorModel' '401': description: Unauthorized schema: $ref: '#/definitions/ErrorModel' '413': description: Payload Too Large schema: $ref: '#/definitions/ErrorModel' '403': description: Forbidden schema: $ref: '#/definitions/ErrorModel' '415': description: Unsupported Media Type schema: $ref: '#/definitions/ErrorModel' '404': description: Not found schema: $ref: '#/definitions/ErrorModel' '504': description: Gateway Timeout schema: $ref: '#/definitions/ErrorModel' '429': description: Too Many Requests OR Limit Exceeded - On reason = Too Many requests one should re-try, for Limit Exceeded that does not help you schema: $ref: '#/definitions/ErrorModel' security: - Auth0: [] - api_key: [] definitions: pendingMatchRequestStatusResponseModel: type: object properties: createdOn: type: string format: date-time matchUntilUtc: type: string format: date-time description: Shows the time until when the request should be curated. matchRequestId: type: string description: The id of the request entityType: type: string description: The type of the requested entity. status: type: string description: Shows the status of the pending request. id: type: string description: The Id of the entity on Genius sports side sourceToNotify: $ref: '#/definitions/sourceHALEmbededResponse' reason: type: string description: The reason for NotMatched status. Free text. Should not be used to build logical flows on top of it! Only available when status is NotMatched! BadRequestModel: type: object properties: messages: type: array items: type: string Error: type: object required: - domain - message - reason properties: reason: type: string domain: type: string location: type: string message: type: string sourceHALEmbededResponse: type: object properties: name: type: string id: type: integer format: int64 ErrorModel: type: object properties: code: type: integer format: int32 message: type: string error: $ref: '#/definitions/Error' securityDefinitions: Auth0: type: apiKey name: Authorization in: header x-amazon-apigateway-authtype: oauth2 api_key: type: apiKey name: x-api-key in: header x-amazon-apigateway-security-policy: TLS_1_0