Thomas' Alkimi Publisher API documentation

This API provides access to the daily publisher count for Alkimi Exchange.

Endpoint

https://worm.me/api/publisher_api.php

Method

GET or POST

Parameters

Parameter Required Type Description Default
from-date No String (YYYY-MM-DD) The start date for the data range (inclusive). The earliest date available in the database (or 2025-03-05 if data exists)
to-date No String (YYYY-MM-DD) The end date for the data range (inclusive). Today's date (GMT)
format No String (html, json, or csv) The desired output format. html

Response Formats

HTML (format=html)

Returns an HTML table containing the date and total results for each day in the specified range.

Example Request:
GET /publisher_api.php?from-date=2025-03-05&to-date=2025-03-07&format=html

JSON (format=json)

Returns a JSON array of objects, where each object represents a day's data with date and total_results properties.

Example Request:
GET /publisher_api.php?format=json&from-date=2025-03-05
Example Response:
[
  {
    "date": "2025-03-05",
    "total_results": 1234
  },
  {
    "date": "2025-03-06",
    "total_results": 5678
  },
  {
    "date": "2025-03-07",
    "total_results": 9012
  }
]

CSV (format=csv)

Returns a CSV (Comma Separated Values) file with headers date and total_results. The response will be sent as a file download.

Example Request:
GET /publisher_api.php?format=csv
Example Response (File Download):
date,total_results
2025-03-05,1234
2025-03-06,5678
2025-03-07,9012

Error Handling

The API may return the following HTTP status codes:

Example form

A simple form is provided to interact with this API. The form is available at publisher_count_form.php

Notes