Skip to content
GuidesPlaygroundDashboard

Batch geocode multiple addresses

client.geocode.batch(GeocodeBatchParams { addresses } body, RequestOptionsoptions?): GeocodeBatchResponse
POST/api/v1/geocode/batch

Batch geocode multiple addresses

ParametersExpand Collapse
body: GeocodeBatchParams { addresses }
addresses: Array<string>
ReturnsExpand Collapse
GeocodeBatchResponse = unknown

Batch geocode multiple addresses

import Plaza from '@plazafyi/sdk';

const client = new Plaza({
  apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted
});

const response = await client.geocode.batch({ addresses: ['string'] });

console.log(response);
{}
Returns Examples
{}