Grade Subdivisions API

The Subdivisions API from Grade — 1 operation(s) for subdivisions.

Operations 1

GET /api/subdivisions Estados e províncias que têm canal tocável #

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/gradetv-subdivisions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gradetv-subdivisions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Grade Subdivisions API
  version: dbad45cb
  description: Catálogo IPTV, biblioteca pessoal com feeds e informações para produtores sobre transmissão autorizada sob consulta.
servers:
- url: https://gradetv.net
tags:
- name: Subdivisions
paths:
  /api/subdivisions:
    get:
      operationId: list_subdivisions
      summary: Estados e províncias que têm canal tocável
      description: 'Devolve: { items[{code,country,name,count}] }'
      security: []
      parameters:
      - name: country
        in: query
        required: false
        schema:
          type: string
        description: Restringe a um país, ISO 3166-1 alpha-2.
        example: BR
      - name: kind
        in: query
        required: false
        schema:
          type: string
          default: tv
          enum:
          - tv
          - radio
          - all
        description: '`tv` (padrão) conta canais de TV; `radio` conta estações do Radio Browser; `all` junta os dois.'
      responses:
        '200':
          description: '{ items[{code,country,name,count}] }'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListaSubdivisao'
      tags:
      - Subdivisions
components:
  schemas:
    ListaSubdivisao:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Subdivisao'
          description: Todos os itens; estas rotas não paginam.
      required:
      - items
      description: Coleção pequena e completa — faceta de catálogo, que cabe inteira numa resposta.
    Subdivisao:
      type: object
      properties:
        code:
          type: string
          description: Código do iptv-org, ex. `BR-SP`.
        country:
          type: string
          description: País a que pertence, alpha-2.
        name:
          type: string
          description: Nome da subdivisão.
        count:
          type: integer
          description: Canais tocáveis nela.
      required:
      - code
      - country
      - name
      - count
      description: Estado/província com canal tocável.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ipt_… (guest) ou iptk_… (API key)