A test offer by MeterGate with invented data.
Paths: /towns lists five towns, /towns/00001 to /towns/00005 return one each, /echo shows what reached the service. Add fault=500, fault=429 or fault=abort to get an error, or delay_ms to get a late answer.
Free
Use it to try a subscription, API keys and calls. You still need a card on file, as for every API. It is never charged for this API.
Rate limit: 30/minute
URL for calls
https://metergate.dev/v1/metergate-test/
Allowed Methods
GET, POST
Input Schema
{
"type": "object",
"properties": {
"fault": {
"type": "string",
"enum": [
"500",
"429",
"abort"
],
"description": "Ask for an error."
},
"delay_ms": {
"type": "integer",
"minimum": 0,
"maximum": 20000,
"description": "Answer later by this many milliseconds."
}
}
}
Output Schema
{
"type": "object",
"properties": {
"asked": {
"type": "object"
},
"answer": {},
"because": {
"type": "string"
}
},
"required": [
"asked",
"because"
]
}
Example Response
{
"asked": {
"method": "GET",
"path": "/towns/00001",
"query": {}
},
"answer": {
"code": "00001",
"name": "Teststadt",
"population": 12000,
"neighbours": [
"00002",
"00003"
]
},
"because": "Town \"00001\" is in the fixed table. The same question always gets the same answer."
}