> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /vesselfinder/ports/search

> Browse VesselFinder ports, optionally filtered by country

**Price:** 1 credit



## OpenAPI

````yaml /openapi/developer-data.json post /api/vesselfinder/ports/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/vesselfinder/ports/search:
    post:
      tags:
        - /vesselfinder
      summary: /vesselfinder/ports/search
      description: |-
        Browse VesselFinder ports, optionally filtered by country

        **Price:** 1 credit
      operationId: __api_vesselfinder_ports_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VesselFinderPortsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VesselFinderPortSearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VesselFinderPortsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        count:
          type: integer
          minimum: 1
        country:
          anyOf:
            - $ref: '#/components/schemas/VesselFinderFlag'
            - type: 'null'
      type: object
      required:
        - count
    VesselFinderPortSearchResult:
      properties:
        '@type':
          type: string
          default: VesselFinderPortSearchResult
        locode:
          type: string
        name:
          type: string
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        url:
          type: string
      type: object
      required:
        - locode
        - name
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    VesselFinderFlag:
      type: string
      enum:
        - Adelie Land
        - Afghanistan
        - Aland Islands
        - Alaska
        - Albania
        - Algeria
        - American Samoa
        - Andorra
        - Angola
        - Anguilla
        - Antarctica
        - Antigua & Barbuda
        - Argentina
        - Armenia
        - Aruba
        - Ascension Island
        - Australia
        - Austria
        - Azerbaijan
        - Azores
        - Bahamas
        - Bahrain
        - Bangladesh
        - Barbados
        - Belarus
        - Belgium
        - Belize
        - Benin
        - Bermuda
        - Bhutan
        - Bolivia
        - Bonaire,St Eustatius & Saba
        - Bosnia & Herzegovina
        - Botswana
        - Brazil
        - British Indian Ocean Ter.
        - British Virgin Islands
        - Brunei
        - Bulgaria
        - Burkina Faso
        - Burundi
        - Cambodia
        - Cameroon
        - Canada
        - Cape Verde
        - Cayman Islands
        - Central Africa Rep (CAR)
        - Chad
        - Chile
        - China
        - Christmas Island
        - Cocos Islands
        - Colombia
        - Comoros
        - Congo
        - Cook Islands
        - Costa Rica
        - Cote d'Ivoire
        - Croatia
        - Crozet Archipelago
        - Cuba
        - Curacao
        - Cyprus
        - Czech Rep
        - DPR Korea
        - DR Congo
        - Denmark
        - Djibouti
        - Dominica
        - Dominican Rep
        - East Timor
        - Ecuador
        - Egypt
        - El Salvador
        - Equatorial Guinea
        - Eritrea
        - Estonia
        - Ethiopia
        - Faeroe Islands
        - Falkland Islands
        - Fiji
        - Finland
        - France
        - French Polynesia
        - Gabon
        - Gambia
        - Georgia
        - Germany
        - Ghana
        - Gibraltar
        - Greece
        - Greenland
        - Grenada
        - Guadeloupe
        - Guam
        - Guatemala
        - Guernsey
        - Guiana
        - Guinea
        - Guinea-Bissau
        - Guyana
        - Haiti
        - Heard Isl & McDonald Isls
        - Honduras
        - Hong Kong
        - Hungary
        - Iceland
        - India
        - Indonesia
        - Iran
        - Iraq
        - Ireland
        - Isle of Man
        - Israel
        - Italy
        - Jamaica
        - Japan
        - Jersey
        - Jordan
        - Kazakhstan
        - Kenya
        - Kerguelen Islands
        - Kiribati
        - Korea
        - Kuwait
        - Kyrgyz Rep
        - Laos
        - Latvia
        - Lebanon
        - Lesotho
        - Liberia
        - Libya
        - Liechtenstein
        - Lithuania
        - Luxembourg
        - Macao
        - Macedonia
        - Madagascar
        - Malawi
        - Malaysia
        - Maldives
        - Mali
        - Malta
        - Marshall Islands
        - Martinique
        - Mauritania
        - Mauritius
        - Mayotte
        - Mexico
        - Micronesia
        - Moldova
        - Monaco
        - Mongolia
        - Montenegro
        - Montserrat
        - Morocco
        - Mozambique
        - Myanmar
        - N. Mariana Isl
        - Namibia
        - Nauru
        - Nepal
        - Netherlands
        - Netherlands Antilles
        - New Caledonia
        - New Zealand
        - Nicaragua
        - Niger
        - Nigeria
        - Niue
        - Norfolk Island
        - Norway
        - Oman
        - Pakistan
        - Palau
        - Palestine
        - Panama
        - Papua New Guinea
        - Paraguay
        - Peru
        - Philippines
        - Pitcairn Island
        - Poland
        - Portugal
        - Portugal (Madeira)
        - Puerto Rico
        - Qatar
        - Reunion
        - Romania
        - Russia
        - Rwanda
        - S.Georgia & S.Sandwich Isls
        - Saint Helena
        - Saint Martin (FR)
        - Samoa
        - San Marino
        - Sao Tome & Principe
        - Saudi Arabia
        - Senegal
        - Serbia
        - Seychelles
        - Sierra Leone
        - Singapore
        - Sint Maarten (NL)
        - Slovakia
        - Slovenia
        - Solomon Islands
        - Somalia
        - South Africa
        - South Sudan
        - Spain
        - Sri Lanka
        - St Kitts & Nevis
        - St Lucia
        - St Paul & Amsterdam Isl
        - St Pierre & Miquelon
        - St Vincent & Grenadines
        - Sudan
        - Suriname
        - Svalbard & Jan Mayen
        - Swaziland
        - Sweden
        - Switzerland
        - Syria
        - Tahiti
        - Taiwan
        - Tajikistan
        - Tanzania
        - Thailand
        - Togolese Rep
        - Tokelau
        - Tonga
        - Trinidad & Tobago
        - Tunisia
        - Turkey
        - Turkmenistan
        - Turks & Caicos Isl
        - Tuvalu
        - US Minor Outlying Isls
        - US Virgin Islands
        - Uganda
        - Ukraine
        - United Arab Emirates (UAE)
        - United Kingdom (UK)
        - United States (USA)
        - Unknown
        - Uruguay
        - Uzbekistan
        - Vanuatu
        - Vatican
        - Venezuela
        - Vietnam
        - Wallis and Futuna
        - Western Sahara
        - Yemen
        - Zambia
        - Zimbabwe
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````