エクアドル — 投票所
エクアドルの投票所照会は CNE の名簿を読みます。documentType は CCEC、documentNumber は県コードが 01–24 または 30 で検査数字が正しい 10 桁の市民証です。応答には氏名と県、カントン、教区、フンタ(pollingTable)があります。
応答に含まれる項目
province、canton、parishpollingTable— フンタfullName
用途
- 有権者に投票所を示します。
- 検査数字が合わない市民証を拒否します。
- 本人ファイルと一緒にフンタを保存します。
API リファレンス
Endpoint
GET https://api.verifik.co/v2/ec/votacion
項目には fullName、province、canton、parish、pollingTable があります。不明な市民証は 404 NotFound です。検査数字が違うと 409 InvalidDocumentNumber です。
Headers
| 名前 | 値 | 説明 |
|---|---|---|
| Content-Type | application/json | リクエスト形式 |
| Accept | application/json | レスポンス形式 |
| Authorization | Bearer <token> | クライアント JWT |
Parameters
| 名前 | 型 | 必須 | 例 | 説明 |
|---|---|---|---|---|
documentType | string | はい | CCEC | CCEC でなければなりません。 |
documentNumber | string | はい | 1700000019 | 検査数字を含む 10 桁のエクアドル市民証。県コードは 01–24 または 30。不正な番号は 409 InvalidDocumentNumber です。 |
Request
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/ec/votacion",
params: {
documentType: "CCEC",
documentNumber: "1700000019",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}
import requests
url = "https://api.verifik.co/v2/ec/votacion"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"documentType": "CCEC",
"documentNumber": "1700000019",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/ec/votacion?documentType=CCEC&documentNumber=1700000019" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Response
- 200 (レコードあり)
- 409 (パラメータ不足)
- 404 (該当なし)
- 401 (未認証)
- 500 (情報源が利用不可)
{
"data": {
"documentType": "CCEC",
"documentNumber": "1700000019",
"fullName": "MARIA ELENA LOPEZ",
"province": "PICHINCHA",
"canton": "QUITO",
"parish": "INAQUITO",
"pollingTable": "1"
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "MissingParameter",
"message": "\"documentType\" is required"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
注意
documentTypeはCCECです。- 市民証は有効な県と検査数字を持つ 10 桁です。
- 不明な番号は 404
NotFoundです。 Authorizationヘッダーに Bearer JWT を付けます。- JSON サンプルは項目の形を示します。実呼出しは送った値のレコードを返します。
- キャッシュ迂回フラグは送りません。このページはクライアント向けパラメータだけを説明します。
サンドボックス
| シナリオ | パラメータ | 結果 |
|---|---|---|
| 情報源に記録あり | documentType: "CCEC", documentNumber: "1700000019" | 県、カントン、教区、フンタのある 200。 |
| 必須値が無い | Omit documentType | 409 MissingParameter。 |
| 不明な値 | documentNumber: "1700000092" | 名簿に行が無いと 404 NotFound。 |
401 when the bearer token is missing or rejected.