1. Submit a location
Send an address, coordinates, or both. Each new analysis uses one credit from each credit limit set on the key, its organization or a parent organization.202 Accepted. The Location header and metadata.links.self both point to the new analysis.
2. Wait for the result
Poll the analysis. Before each request, wait the number of seconds in the last answer’sRetry-After, starting with the POST answer. Stop when the status is completed, partial or failed. Keep polling on any other status, including one added later. On a 500, 502, 503 or 504, wait and poll again; any other error stops the loop.
3. Read the result
Acompleted or partial analysis holds the location and its buildings. A few fields to start with:
A
failed analysis has an empty buildings list and a failure object that says why. See Analysis lifecycle.