Loading...
Loading...
Pulls DOIs, arXiv ids, PMIDs, PMCIDs and ISBNs out of free text, deduplicated and normalized, with the character offset of each first occurrence. Called as POST /v1/text/extract-citations, it takes text, kinds and returns count, citations, byKind. An agent handed a references section, an email or a PDF dump has to find the identifiers before it can look any of them up, and a model asked to do it by reading invents DOIs that resolve to nothing. The catalog already answers `crossref.doi-metadata` and `pubmed.citation-search`; neither could tell you what to ask them about. Reading this schema and dry-running the call are free and need no wallet; a real call costs $0.003, paid in USDC on Base over x402.
npx skill4agent add fittings-sh/fittings fittings-text-extract-citationstext.extract-citationshttps://fittings.shPOST https://fittings.sh/v1/text/extract-citations| Field | Type | Required | Notes |
|---|---|---|---|
| string | yes | Free text, up to 200000 characters |
| array | no | Restrict to these kinds: doi, arxiv, pmid, pmcid, isbn. Default all. |
{
"text": "See Smith et al. (doi:10.1038/nature12373) and arXiv:2103.00020, indexed as PMID: 23851394."
}| Price | $0.003 per call, metered per characters |
| Source | none (pure compute) |
| Licence | none-needed |
crossref.doi-metadatapubmed.citation-searchfittingscall.mjscurl -sO https://fittings.sh/skill/call.mjscurl -s https://fittings.sh/catalog/text.extract-citations | jq402 Payment Required# Dry run. Prints the quote and pays nothing, because no key is set.
node call.mjs text.extract-citations text="See Smith et al. (doi:10.1038/nature12373) and arXiv:2103.00020, indexed as PMID: 23851394."
# For real: a wallet holding USDC on Base, and nothing else.
export FITTINGS_PRIVATE_KEY=0x...
node call.mjs text.extract-citations text="See Smith et al. (doi:10.1038/nature12373) and arXiv:2103.00020, indexed as PMID: 23851394."FITTINGS_PRIVATE_KEYFITTINGS_MAX_PRICE@x402/core@x402/evmfittingshttps://fittings.sh/catalog/search?q=...