Affise Resources API

Public lookup data — countries, regions, ISPs, OSes, goals, browsers, cities, etc.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /3.1/isp List ISPs in a country · ISP list #
Ask an LLM
“Which internet service providers are available in a given country?”
“Can I search the ISP list by name?”
Tell an agent
List ISPs in {country}.
Find ISPs in {country} matching {q}.
GET /3.1/countries List countries · Countries list #
Ask an LLM
“Which countries does the API support?”
“What country codes can I use for filtering?”
Tell an agent
List all countries.
Show the country list.
GET /3.1/regions List regions in a country · Regions list #
Ask an LLM
“What regions exist within a country?”
“Can I look up regions by country code?”
Tell an agent
List regions in {country}.
Find regions in {country} with code {code}.
GET /3.1/connection-types List connection types · Connection types list #
Ask an LLM
“What connection types can I target?”
“Which connection type values does the API accept?”
Tell an agent
List connection types.
Show the connection type options.
GET /3.1/vendors List vendors · Vendors list #
Ask an LLM
“Which vendors are available?”
“Can I search the vendor list by name?”
Tell an agent
List vendors.
Find vendors matching {q}.
GET /3.1/oses List operating systems · Oses list #
Ask an LLM
“Which operating systems does the API support?”
“What OS values can I use for filtering?”
Tell an agent
List operating systems.
Show the OS options.
GET /3.1/oses/{os} List OS versions for an OS · OS versions list #
Ask an LLM
“What versions exist for a given operating system?”
“Can I get the version list for one OS?”
Tell an agent
List versions of {os}.
Show OS version options for {os}.
GET /3.0/goals List conversion goals · Goals list #
Ask an LLM
“What conversion goals can I set up?”
“Which goals are available for tracking?”
Tell an agent
List goals.
Show the conversion goal options.

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

affise-resources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Documentation Resources API
  version: '3.2'
  x-logo:
    altText: Affise API documentation.
    url: affise_logo.svg
    backgroundColor: '#fafafa'
  description: API 3.1 documentation.
servers:
- url: https://api-demo.affise.com
  description: Demo Server
  variables:
    api-key:
      default: 685168e94e6a96fa7c31895e
      description: Demo Test API Key
tags:
- name: Resources
  x-displayName: Lookup
  description: Public lookup data — countries, regions, ISPs, OSes, goals, browsers, cities, etc.
paths:
  /3.1/isp:
    get:
      tags:
      - Resources
      summary: ISP list
      description: '`GET /3.1/isp`


        Get ISP list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      - name: country
        in: query
        description: Country code. Example "US"
        required: true
        schema:
          type: string
      - name: q
        in: query
        description: Search query
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  isps:
                    type: array
                    items:
                      type: object
                      properties:
                        country:
                          type: string
                        name:
                          type: string
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_count:
                        type: integer
              example:
                status: 1
                isps:
                - country: KZ
                  name: reliablesite.net llc
                - country: KZ
                  name: smartnet too
                - country: KZ
                  name: betting office olimp kz llc
                pagination:
                  page: 1
                  per_page: 2147483647
                  total_count: 3
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/isp?country=<country>' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31Isp
      x-operation-id-source: derived
  /3.1/countries:
    get:
      tags:
      - Resources
      summary: Countries list
      description: '`GET /3.1/countries`


        Get countries list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  countries:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                        name:
                          type: string
              example:
                status: 1
                countries:
                - code: KP
                  name: North Korea
                - code: PF
                  name: French Polynesia
                - code: EG
                  name: Egypt
                - code: DE
                  name: Germany
                - code: GI
                  name: Gibraltar
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/countries' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31Countries
      x-operation-id-source: derived
  /3.1/regions:
    get:
      tags:
      - Resources
      summary: Regions list
      description: '`GET /3.1/regions`


        Get regions list'
      parameters:
      - name: api-key
        in: header
        description: API key
        required: true
        example: 23df424b0a53b0899f78685966243ee61
        schema:
          type: string
      - name: country
        in: query
        description: Country code. Example "US"
        required: true
        schema:
          type: array
          items:
            type: string
          example:
            country[0]: FR
      - name: code
        in: query
        description: Filter regions by id
        schema:
          type: array
          items:
            type: integer
          example:
            code[0]: FR
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  regions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                        country_code:
                          type: string
              example:
                status: 1
                regions:
                - id: 2
                  name: Alaska
                  country_code: US
                - id: 1
                  name: Alabama
                  country_code: US
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/regions?country[0]=FR&code[0]=FR' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31Regions
      x-operation-id-source: derived
  /3.1/connection-types:
    get:
      tags:
      - Resources
      summary: Connection types list
      description: '`GET /3.1/connection-types`


        Get connection types list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  types:
                    type: array
                    items:
                      type: string
              example:
                status: 1
                types:
                - wi-fi
                - cellular
                - other
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/connection-types' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31ConnectionTypes
      x-operation-id-source: derived
  /3.1/vendors:
    get:
      tags:
      - Resources
      summary: Vendors list
      description: '`GET /3.1/vendors`


        Get vendors list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      - name: q
        in: query
        description: Search query
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  vendors:
                    type: array
                    items:
                      type: string
              example:
                status: 1
                vendors:
                - Nextbit
                - Next
                - NextBook
                - NEXTAB
                - Nextel
                - NextTab
                - NEXTPAD
                - NextWolf
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/vendors' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31Vendors
      x-operation-id-source: derived
  /3.1/oses:
    get:
      tags:
      - Resources
      summary: Oses list
      description: '`GET /3.1/oses`


        Get oses list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  oses:
                    type: object
                    additionalProperties:
                      type: string
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_count:
                        type: integer
              example:
                status: 1
                oses:
                  '0': Firefox OS
                  '1': 3DS System Software
                  '2': DSi System Software
                  '4': VictorReader Stream
                  '5': ThreadX
                  '6': Feedfetcher
                  '7': Maemo
                  '8': Series 60
                  '9': Android with AOKP
                  '10': Apple TV Software
                pagination:
                  page: 1
                  per_page: 2147483647
                  total_count: 99
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/oses' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31Oses
      x-operation-id-source: derived
  /3.1/oses/{os}:
    get:
      tags:
      - Resources
      summary: OS versions list
      description: '`GET /3.1/oses/{os}`


        Get os versions list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      - name: os
        in: path
        description: One of OS
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  versions:
                    type: array
                    items:
                      type: string
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_count:
                        type: integer
              example:
                status: 1
                versions:
                - '11.0'
                - '10.12'
                - '10.13'
                - '10.19'
                - '10.17'
                - '10.16'
                - '10.18'
                - 10.12.1
                - 10.12.2
                - 10.12.3
                - 10.12.4
                - 10.12.5
                - 10.12.6
                - 10.13.1
                - 10.13.2
                - 10.13.4
                - 10.13.3
                - 10.14.0
                - 10.12.8
                - 10.13.5
                - 10.13.6
                pagination:
                  page: 1
                  per_page: 2147483647
                  total_count: 21
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.1/oses/{os}' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get31OsesByOs
      x-operation-id-source: derived
  /3.0/goals:
    get:
      tags:
      - Resources
      summary: Goals list
      description: '`GET /3.0/goals`


        Get goals list'
      parameters:
      - name: api-key
        in: header
        description: API key
        example: 23df424b0a53b0899f78685966243ee61
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  goals:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        title:
                          type: string
              example:
                status: 1
                goals:
                - id: 1
                  title: Default
                - id: 2
                  title: Sale
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
      - lang: cURL
        label: cURL
        source: "curl --request GET \\\n  --url 'https://api-demo.affise.com/3.0/goals' \\\n  --header 'api-key: 23df424b0a53b0899f78685966243ee61'"
      operationId: get30Goals
      x-operation-id-source: derived
components:
  responses:
    Unauthorized:
      description: Unauthorized - API key is missing or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 2
              message:
                type: string
                example: Token is necessary
    BadRequest:
      description: Bad Request - The request was malformed or contained invalid parameters
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 2
              message:
                type: string
                example: Bad Request
    NotFound:
      description: Not Found - Resource not found
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 2
              message:
                type: string
                example: Resource Not Found
    InternalServerError:
      description: Internal Server Error - Server error, please contact administrator
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 2
              message:
                type: string
                example: Server error, Please contact your administrator
    Forbidden:
      description: Forbidden - Access denied, insufficient permissions
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 2
              message:
                type: string
                example: Auth Denied
x-tagGroups:
- name: Admin API
  tags:
  - admin-advertisers
  - admin-affiliates
  - admin-offers
  - admin-stats
  - admin-conversions
  - admin-users
  - admin-presets
  - admin-payments
  - admin-billing
  - admin-smartlinks
  - admin-tickets
  - admin-automation
  - admin-adcosts
  - admin-other
- name: Advertiser API
  tags:
  - advertiser-auth
  - advertiser-offers
  - advertiser-stats
- name: Affiliate API
  tags:
  - affiliate-profile
  - affiliate-offers
  - affiliate-stats
  - affiliate-postbacks
  - affiliate-conversions
  - affiliate-pixels
  - affiliate-smartlinks
  - affiliate-news
  - affiliate-other
- name: Resources
  tags:
  - resources