---
updatedAt: 2025-12-03T08:36:31.000Z
agentTools:
  projectIndex: https://docs.getfastah.com/llms.txt
---

# Detecting currency

Identify the currency used in the visitor's location.

```javascript
let response = {
    "l10n": {
        "currencyName": "Dollar",
    }
};

console.log("The currency used in the visitor's location is:", response.l10n.currencyName);

```
```go
package main

import "fmt"

var response = map[string]map[string]string{
	"l10n": {
		"currencyName": "Dollar",
	},
}

func main() {
	fmt.Println("The currency used in the visitor's location is:", response["l10n"]["currencyName"])
}

```
```python
response = requests.get(url, headers=headers)
data = response.json()

print("The currency used in the visitor's location is:", data['l10n']['currencyName'])
```