# Foursquare Places API vs Nominatim

> Nominatim scores 67.3 (B) to Foursquare Places's 59.4 (C) for geo places. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/foursquare-places-vs-nominatim
- Markdown: https://www.anchorterminal.com/compare/foursquare-places-vs-nominatim.md (~4,200 tokens)
- Slim: https://www.anchorterminal.com/compare/foursquare-places-vs-nominatim.min.md (~880 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/foursquare-places-vs-nominatim.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

Nominatim scores 67.3 (B) on agent readiness against Foursquare Places API's 59.4 (C), and leads in 5 of 7 scored categories. Foursquare Places API leads on schema & documentation. Both do geo places.

- 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
- Nominatim: grade B, 67.3/100, rank #481 of 1654. Markdown https://www.anchorterminal.com/tools/nominatim.md · JSON https://www.anchorterminal.com/api/v1/tools/nominatim.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:
- Schema & documentation, 75 against 51

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

### Nominatim (B)

Good for: Self-hosted worldwide geocoding from OpenStreetMap data with no per-call cost or storage limits beyond ODbL.

Ahead on:
- Security & auth, 50 against 28
- Payments & pricing, 90 against 60
- Maintenance & community, 60 against 18

Also in its favour:
- No key needed to call it
- Open source

Watch for: No OpenAPI spec and no llms.txt


## Why the edge

### Maintenance & community: Nominatim +42

- 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.
- Nominatim (60): Release 5.3.3 on 14 October 2026, 23 days before this check (30). Only one release in the 90 days from 8 August, against 106 commits on the default branch; commits aren't counted as releases (0). Commits from the lead maintainer and seven or more contributors since August, but we couldn't read issue reply times (12). The nominatim-api Python library is current with the server (10). CI on every push, current PostgreSQL and Python versions (8). 30+0+12+10+8 = 60.

### Payments & pricing: Nominatim +30

- Foursquare Places API (60): No x402, MPP or L402 (0). Per-1,000 prices for Pro, Premium and Ask calls are public without login (30). A sandbox with up to 10,000 free Pro calls per the pricing page, free monthly credits per the Developer Master Terms, and a sign-up guide with no card step (30). A person signs up in a browser, confirms by email and creates the key in the Developer Console (0). 0 + 30 + 30 + 0 = 60.
- Nominatim (90): Self-hosted rule. No payment protocol (0). Free software with nothing to buy (20 + 20 + 20). The public instance is also free and keyless, within its usage policy. 0+20+20+20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

### Schema & documentation: Foursquare Places API +24

- 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.
- Nominatim (51): No OpenAPI or machine-readable contract (0). nominatim.org/llms.txt returns 404, and the manual is HTML, though its Markdown sources sit in the repository's docs folder (0). The API reference explains each endpoint and parameter and when not to use one, such as the details endpoint being for debugging (14). Types, enums and limits are documented, such as format, layer and limit (at most 40), but there's no schema to validate against (12). Example queries and outputs per endpoint, with errors described in prose (10). A versioned manual per release, a ChangeLog and a migration guide (15). 0+0+14+12+10+15 = 51.

### Security & auth: Nominatim +22

- 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.
- Nominatim (50): The server has no authentication of its own; an operator puts it behind their own proxy. The public instance takes no key and identifies callers by User-Agent or Referer (5). Every endpoint reads, so there's nothing to approve (18). Results are OpenStreetMap names and tags, community-edited text, with no prompt-injection guidance (7). Query logging to a file is available through NOMINATIM_LOG_FILE and off by default (8). SECURITY.md gives security@nominatim.org, an acknowledgement within 3 work days, a disclosure process and two years of security updates per release. No bug bounty (12). 5+18+7+8+12 = 50.

## Score by category

| Category | Weight | Foursquare Places API | Nominatim | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 83 | 82 | Foursquare Places API +1 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 75 | 51 | Foursquare Places API +24 |
| Agent ergonomics | 13% | 71 | 75 | Nominatim +4 |
| Security & auth | 14% | 28 | 50 | Nominatim +22 |
| Payments & pricing | 10% | 60 | 90 | Nominatim +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 18 | 60 | Nominatim +42 |
| Transparency & trust | 7% | 58 | 59 | Nominatim +1 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **59.4 · C** | **67.3 · B** | |

## Facts side by side

| Fact | Foursquare Places API | Nominatim |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Foursquare | Nominatim project (osm-search) |
| Hosted endpoint | `https://places-api.foursquare.com` | no (local only) |
| Transports | HTTP, stdio | HTTP |
| Auth | API key | None |
| Pricing | Pay per use | Free |
| 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 | GPL-3.0-or-later |
| Tools exposed | 5 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-07-21 | 2026-10-14 |
| Terms last updated | 2024-02-29 | no date given |
| Privacy policy last updated | 2024-04-05 | no document linked |
| 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 | not found in the text |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 19 stars | 2.1k PyPI/wk |

## How the scores have moved

### Foursquare Places API

No score change since it was listed.

### Nominatim

- +3.8 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.

**Nominatim.** Nominatim is the open-source OpenStreetMap geocoder, free to run with a documented search, reverse and lookup API, tested releases and two years of security support per release. It has no OpenAPI spec, no built-in authentication, and the public instance allows one request a second and restricts LLM-suggested use, so agents at scale need their own server.

## 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

### Nominatim

1. Don't send bulk or repeated queries to nominatim.openstreetmap.org; keep to one request a second, cache results and set an identifying User-Agent
2. Tell the user about the OSMF usage policy before suggesting the public instance, as the policy requires
3. For regular or large jobs, run your own Nominatim or use a commercial provider listed on the Nominatim wiki
4. Pass format=jsonv2 or geojson and limit, since omitting format sends the request to the web UI
5. Attribute OpenStreetMap and respect the ODbL share-alike terms when storing results

## Questions

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

Nominatim scores 67.3 (B) on agent readiness against Foursquare Places API's 59.4 (C), and leads in 5 of 7 scored categories. Foursquare Places API leads on schema & documentation.

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

Foursquare Places API needs an API key. Nominatim needs no key.

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

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

### Are Foursquare Places API and Nominatim open source?

No open-source release is listed for Foursquare Places API. Nominatim is open source (GPL-3.0-or-later).


## For agents

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

## Other comparisons with Foursquare Places API or Nominatim

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