Welcome to country-state-city microservice

Batch Processing: Endpoint uploadFIle

POST https://geocod.xyz/api/public/uploadFIle

Parameters:

apikey (mandatory)
file (mandatory) .csv ";" separated
reversed (optional) if true reverse geocodig; if false or not provide forward geocoding

Example of file for forward geocoding:

FILE IN REQUEST:

3523 Bernardo Street;47708;Evansville;Indiana;United States
607 Progress Way;14784;Stockton;New York;United States
1333 Wilkinson Street;37211;Nashville;Tennessee;United States

FILE RESULTS:

3523 Bernardo Street;47708;Evansville;Indiana;United States;37.974203;-87.573919
607 Progress Way;14784;Stockton;New York;United States;42.319489;-79.379632
1333 Wilkinson Street;37211;Nashville;Tennessee;United States;36.069133;-86.724575

Example of file for reverse geocoding:

FILE IN REQUEST:

37.9742;-87.573919
37.9758619;-87.573783
37.9802933;-87.6045728

FILE RESULTS:

37.9742;-87.573919;332 Market Street;47708;Evansville;Indiana;US
37.9758619;-87.573783;111 Northwest 4th Street;47708;Evansville;Indiana;US
37.9802933;-87.6045728;235 North Marine Avenue;47712;Evansville;Indiana;US

Input file can have a maximum size of 30Mb.

We send you a link to results file by email when the batch process finished.

API Limits:

  • Input file can have a maximum size of 30Mb.
  • You can only send one file per day.
  • Results file will be available for 72 hours.

If you need remove limits, please, contact us.