Antcheck API v1

Documentation

  • pan_toolLicence and Terms of use (API v1) and more...
    We reserve the right to restrict access to the service at any time. Because we do not use Auth Keys, we reserve the right to pause the API at any time to prevent server overload. However, you can trust us that we will always try to keep the API online and that it will remain free.
    The v1 will still become update, but these are backwards compatible, so your programs will still work. We only add features like new parameters, new endpoints, eg. The service is free, but you must give approciate credit to the website. For example with a link to https://antcheck.info or a mention such as "by AntCheck.info". Thanks.

    First Release: 30.09.2020
    42233 requests counted so far.

    Do you have questions? Feature requests? Bugs (No, Iam not an exterminator)? Please just contact me :)
    Donations are always welcome to maintain this free service. (Hours of work, hosting costs, ...)
  • public/all
    Provides a complete list with all the data necessary to query Antcheck's ants offer

    https://antcheck.de/api/v1/all/
    Return: json
    Parameters:
    ?name=STRING -> Searches for genus and species. Use _ for a whitespace.
    - Example: /api/v1/species/?name=lasius_flavus
    - Example: /api/v1/species/?name=lasi
    - Example: /api/v1/species/?name=flav
    ?clean -> Clean output for testing and debugging

    Info: Try to store the result and only update it after a longer time period (For example once a day). This increases the performance drastically.
  • public/specieshistory
    List of all species that were sold by any shop in the past and recorded by AntCheck

    https://antcheck.de/api/v1/specieshistory/
    Return: json
    Parameters:
    ?clean -> Clean output for testing and debugging
  • public/specieslist
    A list of all species grouped by genus

    https://antcheck.de/api/v1/specieslist/
    Return: json
    Parameters:
    ?group=genus : Groups output by genus
  • public/species
    Get all species with all necessary data

    https://antcheck.de/api/v1/species/
    Return: json
    Parameters
    ?name=STRING -> Searches for genus and species. Use _ for a whitespace.
    - Example: /api/v1/species/?name=lasius_flavus
    - Example: /api/v1/species/?name=lasi
    - Example: /api/v1/species/?name=flav
    ?clean -> Clean output for testing and debugging
  • public/variants
    Get all variants with all necessary data. A variants is a product option, e.g. Lasius flavus, 1-10 worker 1 queen

    https://antcheck.de/api/v1/variants/
    Return: json
    Parameters
    ?groupby=shopid -> If "shopid": Groups every variant by the shop.
    ?id=INTEGER -> Integer must be a species id. Shows only results for the given species id.
    ?clean -> Clean output for testing and debugging
  • public/shops
    Get all shops with all necessary data.

    https://antcheck.de/api/v1/shops/
    Return: json
    Parameters
    ?id=INTEGER -> Integer must be a shop id. Shows only results for the given shop id.
    ?clean -> Clean output for testing and debugging
  • public/news
    Get the latest AntCheck.info news. Contains HTML.

    https://antcheck.de/api/v1/news/
    Return: json
    Parameters
    none