# Foursquare Places API vs Geocodio

> Geocodio scores 74.7 (BB) to Foursquare Places's 59.4 (C) for geocoding. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/foursquare-places-vs-geocodio
- Markdown: https://www.anchorterminal.com/compare/foursquare-places-vs-geocodio.md (~5,400 tokens)
- Slim: https://www.anchorterminal.com/compare/foursquare-places-vs-geocodio.min.md (~1,080 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/foursquare-places-vs-geocodio.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

Geocodio scores 74.7 (BB) on agent readiness against Foursquare Places API's 59.4 (C), and leads in 5 of 7 scored categories. Foursquare Places API leads on reliability. Both do geocoding.

- Foursquare Places API: grade C, 59.4/100, rank #869 of 1654. Markdown https://www.anchorterminal.com/tools/foursquare-places.md · JSON https://www.anchorterminal.com/api/v1/tools/foursquare-places.json
- Geocodio: grade BB, 74.7/100, rank #147 of 1654. Markdown https://www.anchorterminal.com/tools/geocodio.md · JSON https://www.anchorterminal.com/api/v1/tools/geocodio.json
- Best maps, geocoding and places APIs for AI agents: https://www.anchorterminal.com/best/maps/index.md
- All 171 maps comparisons: https://www.anchorterminal.com/compare/maps/index.md

## Which one, for what

### Foursquare Places API (C)

Good for: Place search, details, tips and photos for consumer apps and agents that answer 'what is near here'.

Ahead on:
- Reliability, 83 against 70

Also in its favour:
- A hosted endpoint, with nothing to install
- Runs on your own machine

Watch for: Service keys have no documented scopes, expiry or read-only mode, and no per-call log or audit trail was found

### Geocodio (BB)

Good for: Batch geocoding and district or census enrichment of addresses in the US, Canada, Mexico, the UK, Australia and New Zealand, where results must be stored.

Ahead on:
- Schema & documentation, 92 against 75
- Agent ergonomics, 80 against 71
- Security & auth, 58 against 28
- Maintenance & community, 86 against 18
- Transparency & trust, 87 against 58

Also in its favour:
- Agent-ready, a grade of BB or better
- Free to start without a card

Watch for: Covers only the US, Canada, Mexico, the UK, Australia and New Zealand, and UK needs a Flex or Unlimited plan


## Why the edge

### Maintenance & community: Geocodio +68

- Foursquare Places API (18): Graded as a closed service. The newest dated change found is the Place Search and Ask reference pages, updated 21 July 2026, 125 days before this check (10). The release notes page has no dated entries, so none count in the 90 days from 25 August (0). A support ticket form, a Discord server and a developer community, with no readable changelog (8 of 15). Not in the official MCP registry. The only registry entries for Foursquare are a third party's, `io.github.pipeworx-io/foursquare`, and no official REST SDK was found (0). The official MCP sample's last commit is 29 April 2025, it has no CI, no releases, and it pins API version 2025-02-05 (0). 10 + 0 + 8 + 0 + 0 = 18. The API itself dates from 2009 and its current version from June 2025.
- Geocodio (86): API v2.1 released 3 November 2026 (Australia and New Zealand), and PHP library 3.4.1 on 4 November (30). Dated changelog entries on 8 September, 1, 8, 9, 19, 22 and 31 October and 3 November 2026, plus library releases in October (20). Public changelog, support by email and a team-staffed help desk named on the pricing page. We didn't read GitHub issue reply times (12). Official Python 1.6.0 and Node 2.3.0 from 12 October and PHP 3.4.1 from 4 November are current (15). Each library and the CLI run CI on GitHub Actions; we didn't check whether the runs pass (9). 30+20+12+15+9 = 86.

### Security & auth: Geocodio +30

- Foursquare Places API (28): Service API keys sent as a bearer header, shown once, and removable in the Developer Console. No scopes, expiry or rotation are documented. Managed-user tokens with refresh attribute calls to an app's users, and OAuth is enterprise only (20). No read-only key or least-privilege mode was found. Placemaker writes go to review rather than straight to the data (5 of 20). Results include tips and descriptions written by users, and no prompt-injection guidance was found (3 of 15). No audit log or per-call record was found in the docs read (0). foursquare.com/.well-known/security.txt returns 404, and no bug bounty, disclosure policy or certification was found on the pages read. The trust pages, if any, were not linked from them (0). 20 + 5 + 3 + 0 + 0 = 28.
- Geocodio (58): Revocable keys, five on pay-as-you-go, each with permissions (Lists and Distance off by default), which earns 25. Less 10 because the docs say 'All requests require &api_key=YOUR_API_KEY' and the OpenAPI spec defines only the query scheme, though an Authorization header has worked since March 2025 (15). Per-key permissions limit what a key can reach. DELETE on lists and distance jobs needs no confirmation (13). Results are addresses and government district, census and legislator data rather than user-written text. No prompt-injection guidance found (9). Usage per API key in the dashboard, downloadable as CSV, and billable-lookup headers on every response (8). Valid security.txt to 30 January 2030 with a PGP key and a responsible disclosure policy. SOC 2 Type II and annual penetration tests apply to the Enterprise platform only. No bug bounty found (13). 15+13+9+8+13 = 58.

### Transparency & trust: Geocodio +29

- Foursquare Places API (58): Closed service under dated terms, the Developer Master Terms of 29 February 2024 and the acceptable use policy of 12 March 2024, with the MCP sample under Apache-2.0 (15). The usage guidelines state caching rules plainly. The privacy centre explains how to access or delete personal data, but no retention periods or developer DPA were found on the pages read (8 of 30). The migration guide maps every old endpoint to its new one and says versions change for breaking changes only, but no deprecation date for the v3 endpoints was found on a page read, and the acceptable use policy reserves the right to discontinue services without notice (8 of 20). No sub-processor list or data location was found (0). 15 + 8 + 8 + 0 = 31.
- Geocodio (87): Editorial half only. Closed service with clear, dated terms under Virginia law, and libraries and CLI under MIT (20). The privacy policy says API and spreadsheet input and results are deleted within 45 days, error logs kept 90 days, and customer data isn't used to train AI models. A separate data retention policy and llms.txt put Lists API data at 72 hours. Results may be stored permanently by the customer (27). Replaced API versions are guaranteed for at least 12 months, breaking changes come only with a new version, and the changelog marks each one 'Breaking' (18). The privacy policy names its processors, such as Sentry and Laravel Nightwatch, and the security page says self-serve is hosted in Europe (15). 20+27+18+15 = 80.

### Schema & documentation: Geocodio +17

- Foursquare Places API (75): No single public OpenAPI file was found, but each reference page's Markdown twin embeds that endpoint's OpenAPI 3.0.1 definition with typed parameters and response schemas (20 of 25). An llms.txt for the Places docs and a `.md` twin of every page (10). Descriptions state purpose and some limits. Ask says when to pass `ll` or `location`, and Geotagging Candidates says it deliberately returns lower-quality results than Place Search (15 of 20). Inputs carry minimums, maximums and enums, such as `limit` 1 to 50, `radius` up to 100,000 and the version header, though `fields` and category IDs are comma-separated strings (13 of 15). The errors page lists status codes with a `message` field, the definitions describe 400 and 401 in one word each, and examples are in curl, Python and PHP (9 of 15). Date-based versioning in a header, changed for breaking changes only, but the release notes page has a June 2025 heading and no entries (8 of 15). 20 + 10 + 15 + 13 + 9 + 8 = 75.
- Geocodio (92): OpenAPI 3.0.1 spec, version 2.1.0, with 11 paths (25). llms.txt and an AGENTS.md written for agents (10). llms.txt and AGENTS.md say when to use each endpoint and when not to, such as the Lists API over looping single calls, the upload tool for a one-off spreadsheet and straightline over driving distance unless road distance is needed (19). Typed parameters with country values, component fields and documented limits, though `fields` is a comma-separated string (12). Error table with retry guidance, examples throughout, but the spec documents 200, 400, 403, 404, 422 and 424 and not 429 or 500 (11). Versioned paths from v1 to v2.1 and a dated public changelog with entries back to 2024 (15). 25+10+19+12+11+15 = 92.

### Reliability: Foursquare Places API +13

- Foursquare Places API (83): Graded on the hosted lines for the Places API REST endpoints. Atlassian Statuspage at status.foursquare.com with component history and an RSS feed. Its components name endpoints of the older API, such as Nearby Places and Place Select, and none covers Ask, geotagging or Placemaker, so it can't be matched to the current hosts (15 of 20). No incident is posted in the 90 days from 25 August 2026. The newest in the history feed is a Developer Console rendering issue on 31 January 2024, which reads as a quiet record on a page that may not be kept to date (30). Rate limits with numbers, 50 queries a second for pay-as-you-go and sandbox, 100 for enterprise and 1 for Ask (15). The errors page lists no 429 and no Retry-After or backoff guidance. It says a 500 can be retried later, and the API is mostly reads (3 of 15). The Places API SLA, updated 27 August 2026, gives 99.9 per cent monthly availability for five US endpoints under commercial licences, not pay-as-you-go (10). The endpoints are not labelled beta or preview (10). 15 + 30 + 15 + 3 + 10 + 10 = 83.
- Geocodio (70): Hosted lines. incident.io status page at status.geocod.io with five components (Geocodio API, Dashboard, Enterprise API, Enterprise Dashboard, Website) and an incidents feed at /api/v2/incidents.json (20). In the 90 days to 6 November 2026 the feed lists one incident marked major, 'Spreadsheet geocoding jobs are failing' on 27 October from 12:35 to 15:15 UTC, and a PHP security patch on 21 October marked no impact, so one major outage of a core feature (10). 1,000 requests a minute on single geocoding for pay-as-you-go and Flex, 100 on Enterprise Flex (15). 429 carries X-RateLimit-Remaining, -Limit and -Period, and llms.txt and AGENTS.md give a retry rule per status code with capped backoff, plus client-side idempotency guidance for the non-idempotent list and batch writes (15). The pricing page lists custom SLAs as an add-on on Unlimited and Enterprise plans, with no published terms, so no SLA (0). GA (10). 20+10+15+15+0+10 = 70.

### Agent ergonomics: Geocodio +9

- Foursquare Places API (71): Graded on the REST API. `fields` selects response fields and `limit` caps results at 50, with a default of 10 (22 of 25). Cursor paging through a `link` header, filters by category, chain, price, opening time and bounding box (20). Errors carry an HTTP status and a `message` string, with no application codes (12 of 20). The data calls are reads and safe to repeat. Placemaker writes are suggestions reviewed by Foursquare, with no idempotency keys, and the sample MCP server sets no readOnlyHint or destructiveHint annotations (10 of 20). Few required parameters, but every call needs the version header, and no official REST SDK was found. The only official client is the Python MCP sample (7 of 15). 22 + 20 + 12 + 10 + 7 = 71.
- Geocodio (80): API reading. `limit`, opt-in `fields` appends and `stable_address_key` re-lookups size responses and cost, and results are ordered best first (20). Batches of 10,000 lookups, Lists for 10 million, distance filters (max_distance, max_results, order_by) and paginated list listings (17). Codes 403, 422, 429 and 500 each carry a documented meaning and retry rule, error bodies link a help page, and `_warnings` reports ignored parameters (18). Geocoding reads are safe to retry, but there's no idempotency key on batch or list creation and AGENTS.md says a retried request is billed again (10). One required parameter on a single geocode, and official libraries for Python, Node, PHP and Ruby plus a CLI with `--agent` output (15). 20+17+18+10+15 = 80.

## Score by category

| Category | Weight | Foursquare Places API | Geocodio | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 83 | 70 | Foursquare Places API +13 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 75 | 92 | Geocodio +17 |
| Agent ergonomics | 13% | 71 | 80 | Geocodio +9 |
| Security & auth | 14% | 28 | 58 | Geocodio +30 |
| Payments & pricing | 10% | 60 | 60 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 18 | 86 | Geocodio +68 |
| Transparency & trust | 7% | 58 | 87 | Geocodio +29 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **59.4 · C** | **74.7 · BB** | |

## Facts side by side

| Fact | Foursquare Places API | Geocodio |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Foursquare | Dotsquare LLC |
| Hosted endpoint | `https://places-api.foursquare.com` | no (local only) |
| Transports | HTTP, stdio | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Freemium |
| Price for geocoding | not published | $1600 per month (plan) |
| x402 | no | no |
| Licence | Proprietary service under the Foursquare Developer Master Terms and the Places API (Self-Service) EULA. The sample MCP server in foursquare/foursquare-places-mcp is Apache-2.0 | none |
| Tools exposed | 5 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-07-21 | 2026-11-03 |
| Terms last updated | 2024-02-29 | no date given |
| Privacy policy last updated | 2024-04-05 | 2018-05-25 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | yes | yes |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 19 stars | 21k npm/wk, 921 PyPI/wk |

## How the scores have moved

### Foursquare Places API

No score change since it was listed.

### Geocodio

- +2.5 on 13 November 2026: checklist

## Verdicts

**Foursquare Places API.** Per-endpoint OpenAPI definitions in Markdown, an llms.txt index, published rate limits and per-1,000 prices make the REST API easy to plan for. Keys have no documented scopes, no 429 guidance was found, the release notes page is empty, and the official MCP server is a local sample last changed in April 2025.

**Geocodio.** Geocodio publishes llms.txt, an AGENTS.md on cost and retries, an OpenAPI spec and a dated changelog, and its results may be stored permanently. Coverage stops at six countries, there's no MCP server or published SLA for self-serve plans, and the docs still put the key in the query string by default.

## Before you call either

### Foursquare Places API

1. Send `X-Places-Api-Version: 2025-06-17` on every call. The header is required and the reference lists no other version
2. Pass `fields` with only the fields needed. Tips, photos and premium fields bill at the Premium rate
3. Keep below 1 query a second on Ask unless the account has a raised limit from support
4. Store only `fsq_place_id` and photo IDs between sessions. Pay-as-you-go accounts may not cache other attributes
5. Follow the `link` response header to page through results instead of raising `limit` above 50

### Geocodio

1. Always set `country`, because an address with none falls back to the US and is billed even when it's wrong
2. Send the key as `Authorization: Bearer`, not in the query string, so it stays out of logs
3. Use batch POST /geocode (up to 10,000 lookups) or the Lists API rather than looping single requests
4. Treat accuracy_type place, county or state as not found, and check `_warnings` for appends that were billed but skipped
5. Don't retry 403 or 422. On 429 read X-RateLimit headers and back off, and never re-upload a list sitting in ENQUEUED

## Questions

### Which is better for AI agents, Foursquare Places API or Geocodio?

Geocodio scores 74.7 (BB) on agent readiness against Foursquare Places API's 59.4 (C), and leads in 5 of 7 scored categories. Foursquare Places API leads on reliability.

### Do Foursquare Places API and Geocodio need an API key?

Both need an API key.

### Can an agent call Foursquare Places API and Geocodio without installing anything?

Foursquare Places API has a hosted endpoint at https://places-api.foursquare.com. No hosted endpoint is listed for Geocodio.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/foursquare-places-vs-geocodio.json, and with the fewest tokens: https://www.anchorterminal.com/compare/foursquare-places-vs-geocodio.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "foursquare-places", "b": "geocodio"}`. From a terminal: `anchor compare foursquare-places geocodio`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/foursquare-places.json and https://www.anchorterminal.com/api/v1/tools/geocodio.json

## Other comparisons with Foursquare Places API or Geocodio

- [Amazon Location Service vs Foursquare Places API](https://www.anchorterminal.com/compare/amazon-location-vs-foursquare-places.md)
- [Amazon Location Service vs Geocodio](https://www.anchorterminal.com/compare/amazon-location-vs-geocodio.md)
- [ArcGIS Location Platform vs Foursquare Places API](https://www.anchorterminal.com/compare/arcgis-vs-foursquare-places.md)
- [ArcGIS Location Platform vs Geocodio](https://www.anchorterminal.com/compare/arcgis-vs-geocodio.md)
- [Azure Maps vs Foursquare Places API](https://www.anchorterminal.com/compare/azure-maps-vs-foursquare-places.md)
- [Azure Maps vs Geocodio](https://www.anchorterminal.com/compare/azure-maps-vs-geocodio.md)
- [Foursquare Places API vs OpenCage Geocoding API](https://www.anchorterminal.com/compare/foursquare-places-vs-opencage.md)
- [Geoapify Location Platform + MCP vs Geocodio](https://www.anchorterminal.com/compare/geoapify-vs-geocodio.md)
- [Geocodio vs Google Maps Platform + Grounding Lite MCP](https://www.anchorterminal.com/compare/geocodio-vs-google-maps-platform.md)
- [Geocodio vs HERE Location Services](https://www.anchorterminal.com/compare/geocodio-vs-here-location-services.md)
- [Geocodio vs LocationIQ](https://www.anchorterminal.com/compare/geocodio-vs-locationiq.md)
- [Geocodio vs Mapbox APIs + MCP](https://www.anchorterminal.com/compare/geocodio-vs-mapbox.md)
- [Geocodio vs MapQuest](https://www.anchorterminal.com/compare/geocodio-vs-mapquest.md)
- [Geocodio vs MapTiler Cloud](https://www.anchorterminal.com/compare/geocodio-vs-maptiler.md)
- [Geocodio vs NextBillion.ai](https://www.anchorterminal.com/compare/geocodio-vs-nextbillion.md)
- [Geocodio vs Nominatim](https://www.anchorterminal.com/compare/geocodio-vs-nominatim.md)
- [Geocodio vs OpenCage Geocoding API](https://www.anchorterminal.com/compare/geocodio-vs-opencage.md)
- [Geocodio vs Radar](https://www.anchorterminal.com/compare/geocodio-vs-radar.md)
- [Geocodio vs Stadia Maps](https://www.anchorterminal.com/compare/geocodio-vs-stadia-maps.md)
- [Geocodio vs TomTom Maps APIs + MCP](https://www.anchorterminal.com/compare/geocodio-vs-tomtom.md)
- [Geocodio vs Woosmap](https://www.anchorterminal.com/compare/geocodio-vs-woosmap.md)
- [Foursquare Places API vs Geoapify Location Platform + MCP](https://www.anchorterminal.com/compare/foursquare-places-vs-geoapify.md)
- [Foursquare Places API vs Google Maps Platform + Grounding Lite MCP](https://www.anchorterminal.com/compare/foursquare-places-vs-google-maps-platform.md)
- [Foursquare Places API vs HERE Location Services](https://www.anchorterminal.com/compare/foursquare-places-vs-here-location-services.md)
- [Foursquare Places API vs LocationIQ](https://www.anchorterminal.com/compare/foursquare-places-vs-locationiq.md)
- [Foursquare Places API vs Mapbox APIs + MCP](https://www.anchorterminal.com/compare/foursquare-places-vs-mapbox.md)
- [Foursquare Places API vs MapQuest](https://www.anchorterminal.com/compare/foursquare-places-vs-mapquest.md)
- [Foursquare Places API vs MapTiler Cloud](https://www.anchorterminal.com/compare/foursquare-places-vs-maptiler.md)
- [Foursquare Places API vs NextBillion.ai](https://www.anchorterminal.com/compare/foursquare-places-vs-nextbillion.md)
- [Foursquare Places API vs Nominatim](https://www.anchorterminal.com/compare/foursquare-places-vs-nominatim.md)
- [Foursquare Places API vs Radar](https://www.anchorterminal.com/compare/foursquare-places-vs-radar.md)
- [Foursquare Places API vs Stadia Maps](https://www.anchorterminal.com/compare/foursquare-places-vs-stadia-maps.md)
- [Foursquare Places API vs TomTom Maps APIs + MCP](https://www.anchorterminal.com/compare/foursquare-places-vs-tomtom.md)
- [Foursquare Places API vs Woosmap](https://www.anchorterminal.com/compare/foursquare-places-vs-woosmap.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
