openapi: 3.0.0 info: description: 'Documentation of [TheTVDB](https://thetvdb.com/) API V4. All related information is linked from our [Github repo](https://github.com/thetvdb/v4-api). You might also want to use our [Postman collection] (https://www.getpostman.com/collections/7a9397ce69ff246f74d0) ## Authentication 1. Use the /login endpoint and provide your API key as "apikey". If you have a user-supported key, also provide your subscriber PIN as "pin". Otherwise completely remove "pin" from your call. 2. Executing this call will provide you with a bearer token, which is valid for 1 month. 3. Provide your bearer token for subsequent API calls by clicking Authorize below or including in the header of all direct API calls: `Authorization: Bearer [your-token]` ## Notes 1. "score" is a field across almost all entities. We generate scores for different types of entities in various ways, so no assumptions should be made about the meaning of this value. It is simply used to hint at relative popularity for sorting purposes. ' title: TVDB API V4 Artwork Countries API version: 4.7.10 x-last-validated: '2026-05-30' x-spec-source: https://github.com/thetvdb/v4-api/blob/main/docs/swagger.yml servers: - url: https://api4.thetvdb.com/v4 description: TheTVDB v4 API production security: - bearerAuth: [] tags: - name: Countries paths: /countries: get: description: returns list of country records operationId: getAllCountries responses: '200': description: response content: application/json: schema: properties: data: items: $ref: '#/components/schemas/Country' type: array status: type: string type: object examples: GetAllCountries200Example: summary: Default getAllCountries 200 response x-microcks-default: true value: data: - id: abc123 name: Example Name shortCode: example status: Continuing tags: - Countries summary: TheTVDB Get All Countries x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: Country: description: country record properties: id: type: string x-go-name: ID example: abc123 name: type: string x-go-name: Name example: Example Name shortCode: type: string x-go-name: ShortCode example: example type: object x-go-package: github.com/whip-networks/tvdb-api-v4-core/tvdb-api-v4-core/pkg/model securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT