API to get contract information of a government procurement

Resource URL

/contracts_by_reference_number/reference_number/{reference number}

Parameters

ParameterDescriptionOptionalDefault
None

Example

GET https://api.ir.ee/companies_by_location

Request

  //by county_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"county_name": "Tartumaa"}' \
https://api.ir.ee/companies_by_location

//by city_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"city_name": "Tartu"}' \
https://api.ir.ee/companies_by_location


//by district_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"district_name": "Tartu linn"}' \
https://api.ir.ee/companies_by_location


//by street_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"street_name": "Ropka"}' \
https://api.ir.ee/companies_by_location


//by county_name, city_name, district_name, street_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"county_name": "Tartumaa", "city_name": "Tartu", "district_name": "Tartu", "street_name": "Haage"}' \
https://api.ir.ee/companies_by_location

//by county_name, city_name, street_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"county_name": "Tartumaa", "city_name": "Tartu", "street_name": "Haage"}' \
https://api.ir.ee/companies_by_location


//by city_name, street_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"city_name": "Tartu", "street_name": "Haage"}' \
https://api.ir.ee/companies_by_location


//by county_name, street_name
curl --header "Content-Type: application/json" \
--header  "Authorization: YourKey" \
--request POST \
--data '{"county_name": "Tartumaa", "street_name": "Haage"}' \
https://api.ir.ee/companies_by_location  

Response

  [
        {
            "reg_code": "11539720",
            "company_name": "AKUPOOD O\u00dc",
            "country_name": null,
            "county_name": "Tartumaa",
            "city_name": "Tartu linn",
            "district_name": null,
            "street": "Soola tn 7",
            "index": "51013"
        },
        {
            "reg_code": "11913428",
            "company_name": "DIDO VENNAD O\u00dc",
            "country_name": null,
            "county_name": "Tartumaa",
            "city_name": "Tartu linn",
            "district_name": null,
            "street": "Ringtee 27",
            "index": "50105"
        }
    ]  

Error Response

    

Resource Information

Rate Limited True
Response Format JSON
Authentication API_KEY