Citation Style Convert
by text.halowerk.com in Documents & files
Format one public DataCite DOI as APA, Chicago author-date or German ISO 690, with source metadata and consistency checks. Convert the bibliographic record of one published DataCite DOI into a plain-text reference using the official DataCite HTTP formatter. Three fixed CSL profiles: apa/en-US, chicago-author-date/en-US and iso690-author-date-de/de-DE.
https://text.halowerk.com/v1/citation-style-convert- Price
- $0.003
- per call in USDC
- Uptime
- 96.3%
- last 30 days
- Response time
- 118 ms
- 173 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://text.halowerk.com/v1/citation-style-convert
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://text.halowerk.com/v1/citation-style-convert
content-type: application/json
{
"doi": "10.14454/mzv1-5b55",
"style": "apa"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
doi | string | Yes | |
style | string | No | One of: apa, chicago, iso690_de. Default: "apa". |
Example response
The provider's example. We can't check it without paying.
Example response, 55 lines
{
"limitations": [
"Public DataCite DOI only; title, first author and issued year required. No free-text or BibTeX input and no Crossref or other registration agencies.",
"APA and Chicago use en-US; ISO 690 German author-date uses de-DE. Exact provider CSL identifiers, no asserted manual edition.",
"Publication DOI is sent to DataCite. Source metadata and formatting may change. Cache <=128 results, one hour, no stale fallback.",
"Output is a plain-text reference with evidence checks, not a full bibliography, in-text citation, rights assessment or formal conformance certification."
],
"result": {
"checks": {
"doi_in_citation": true,
"empty_editor_role_refused": true,
"first_author_normalized_in_citation": true,
"issued_year_in_citation": true,
"title_normalized_in_citation": true
},
"citation": "DataCite Metadata Working Group. (2024). DataCite Metadata Schema Documentation for the Publication and Citation of Research Data and Other Research Outputs v4.6. DataCite. https://doi.org/10.14454/MZV1-5B55",
"citation_format": "plain_text",
"doi": "10.14454/mzv1-5b55",
"doi_url": "https://doi.org/10.14454/mzv1-5b55",
"formal_style_manual_conformance_verified": false,
"locale": "en-US",
"metadata": {
"author_count": 1,
"container_title": "DataCite",
"doi": "10.14454/mzv1-5b55",
"first_author": {
"name": "DataCite Metadata Working Group"
},
"publication_year": 2024,
"source_type": "article-journal",
"title": "DataCite Metadata Schema Documentation for the Publication and Citation of Research Data and Other Research Outputs v4.6"
},
"notes": [
"Only public DataCite DOI records with a title, first author and issued year are supported. No parsing of free-text references or private manuscripts.",
"The exact provider CSL profile and locale are identified; an edition or formal style-manual compliance is not asserted. Metadata omissions or inconsistent source formatting produce an error, not invented corrections.",
"The DOI is sent to DataCite. No abstract, full text, affiliation, ORCID or contact fields are returned. Source formatting markup is converted to plain text. Cached source results expire after one hour; checked_at is the source-fetch time.",
"Bibliographic metadata: DataCite, CC0; API documentation: DataCite, CC BY 4.0. DOI is a DOI Foundation trademark."
],
"source": {
"checked_at": "2026-11-19T13:48:08.623Z",
"citation_sha256": "f8ca9e2334fe6c19da4b1423c7ab666dff5df520ccbb10f09a2b041c7addc9e3",
"formatter_api": "https://support.datacite.org/docs/formatted-citations-and-datacite-metadata",
"formatter_body_sha256": "4a93c8805893e8052e7fad95daecb41bc92fa698b066f846762fe14dbf4a557e",
"formatter_provider": "DataCite",
"formatter_url": "https://api.datacite.org/text/x-bibliography/10.14454/mzv1-5b55?style=apa&lang=en-US",
"metadata_provider": "DataCite",
"metadata_sha256": "db06a00f2674dbbfe24119f8562ffa85b5f8477f0f5e223e4711dd03eadd054a",
"metadata_url": "https://api.datacite.org/application/vnd.citationstyles.csl+json/10.14454/mzv1-5b55",
"profile_revision_published_by_provider": false
},
"style": "apa"
},
"service": "citation-style-convert",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://text.halowerk.com/v1/citation-style-convert' \
-H 'content-type: application/json' \
--data-raw '{"doi":"10.14454/mzv1-5b55","style":"apa"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://text.halowerk.com/v1/citation-style-convert' \
-H 'content-type: application/json' \
--data-raw '{"doi":"10.14454/mzv1-5b55","style":"apa"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftext.halowerk.com%2Fv1%2Fcitation-style-convert&method=POST
const res = await pay("https://text.halowerk.com/v1/citation-style-convert", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"doi": "10.14454/mzv1-5b55",
"style": "apa"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://text.halowerk.com/v1/citation-style-convert",
json={
"doi": "10.14454/mzv1-5b55",
"style": "apa",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 127 ms | $0.003 |
| 13 h ago | Passed | 402 | 138 ms | $0.003 |
| 23 h ago | Passed | 402 | 128 ms | $0.003 |
| 33 h ago | Passed | 402 | 128 ms | $0.003 |
| 43 h ago | Passed | 402 | 113 ms | $0.003 |
Show 10 older checks
| 2 days ago | Passed | 402 | 122 ms | $0.003 |
| 4 days ago | Timed out | - | - | - |
| 6 days ago | Passed | 402 | 40 ms | $0.003 |
| 6 days ago | Passed | 402 | 42 ms | $0.003 |
| 6 days ago | Passed | 402 | 133 ms | $0.003 |
| 7 days ago | Passed | 402 | 39 ms | $0.003 |
| 7 days ago | Passed | 402 | 40 ms | $0.003 |
| 8 days ago | Passed | 402 | 38 ms | $0.003 |
| 8 days ago | Passed | 402 | 42 ms | $0.003 |
| 8 days ago | Passed | 402 | 138 ms | $0.003 |