Login / Register 0207 684 6242

Visa Requirements API

< API documentation

The Visa Requirement API can be accessed at:

http://www.djbvisas.com/api/<token>/<country>/<nationality>/<type>/

  • <token> should be substituted with the 20 character API token supplied by DJB Visas
  • <country> should be substituted with the identifier of the destination country
  • <nationality> should be substituted with the identifier of the nationality of the traveller
  • <type> should be substituted with the type of visa (either "business" or "tourist")

Results are returned in XML format.

<partner> - the name of the API Token Holder
<nationality> - the traveller nationality passed to the API
<destination> - the destination country passed to the API
<type> - the visa type passed to the API
<date-requested> - the date and time of the API request
<data-available> - boolean defines whether data is available
<visa-required> - boolean defines whether a visa is required
<processing-time> - denotes visa processing time in days
<documents> - documents required to support the visa application
<embassy> - the details of the visa issuing embassy
<news> - recent news articles from the destination country

An example of the XML returned follows:

<data>
    <visa-requirements>
        <meta>
            <partner>Acme Corp</partner>
            <nationality>United Kingdom</nationality>
            <destination>Afghanistan</destination>
            <type>business</type>
            <date-requested>2015-09-30 14:43 +01:00</date-requested>
            <data-available>1</data-available>
        </meta>
        <personal-application-only>0</personal-application-only>
        <visa-required>1</visa-required>
        <processing-time/>
        <documents>
            <item>Valid passport</item>
            <item>Business letter</item>
            <item>Official invitation</item>
            <item>Employer reference letter</item>
            <item>2 passport photos</item>
            <item>
                <type>Online application form</type>
                <method>link</method>
                <url>http://www.afghanistanembassy.org.uk/images/uploads/files/Visa_Application_Form.pdf</url>
            </item>
        </documents>
        <embassy>
            <address-1>31 Princes Gate</address-1>
            <address-2>Knightsbridge</address-2>
            <town>London</town>
            <postcode>SW7 1QQ</postcode>
            <phone>+44 (0) 20 7589 8891</phone>
            <url>http://www.afghanistanembassy.org.uk</url>
            <geo>51.5013166, -0.17433940000000803</geo>
        </embassy>
        <news>
            <article>
                <pubDate>2015-07-14</pubDate>
                <country>Afghanistan</country>
                <country-flag>http://www.djbvisas.com/image/2/60/35/5/uploads/flag_images/afgh0001-5020d8ad30aba.gif</country-flag>
                <title>The embassy is closed for lodgings every Monday</title>
                <url>http://www.djbvisas.com/news/1/4533/the-embassy-is-closed-for-lodgings-every-monday/</url>
            </article>
        </news>
        <notes>Invite must be approved by the Ministry of Foreign Affairs</notes>
    </visa-requirements>
</data>

Track an application

Passport number *
Date of birth *

Quick visa search