# Gumtree Locations Nearest API (https://www.socialcrawl.dev/platforms/gumtree/locations-nearest) > Returns the Gumtree location closest to a latitude,longitude pair: location id, name, type (LOCATION or POSTCODE), and coordinates. Feed the id into GET /v1/gumtree/search as location_id. TL;DR: `GET /v1/gumtree/locations/nearest` costs 5 credits per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `latitude` | no | Latitude. Use with longitude when you do not pass location_coordinate. | | `longitude` | no | Longitude. Requires latitude. | | `location_coordinate` | no | Latitude,longitude pair, for example 51.5074,-0.1278. | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/gumtree/locations/nearest" \ -H "x-api-key: sc_YOUR_API_KEY" ``` See the full Gumtree API: https://www.socialcrawl.dev/platforms/gumtree ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing