---
title: "Daft.ie API: Geocode | Perceptlayer"
description: "Geocode from Daft.ie as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/daft-ie/geocode
---

[APIs](https://perceptlayer.com/apis) / [Daft.ie](https://perceptlayer.com/apis/daft-ie) / Geocode

# Daft.ie: Geocode

Geocode from Daft.ie as JSON. 1 credit per successful call.

GET `/v1/daft-ie/geocode`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 200 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/daft-ie/geocode?query=12+Grafton+Street%2C+Dublin+2" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/daft-ie?try=geocode#playground) with your own parameters. 1 credit per successful call; failed calls are free.
