Random State Generator
API Documentation
GET
https://randomdatatool.com/api/address/stateQuery Parameters
| Parameter | Type | Description |
|---|---|---|
| count | int | Number of entries to return. Default: 10. Max: 1000. |
| to_upper_case | bool | Transform the result string to uppercase. |
Response JSON
{
"status": "success",
"data": [
],
"count": 2
}
"status": "success",
"data": [
"Rhode Island",
"North Dakota"
"count": 2
}
Implementation
curl -X GET "https://randomdatatool.com/api/address/state?to_upper_case=true&count=10"