# Hugging Face paper API

Get Hugging Face Paper data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including full paper abstract, author display name, direct arXiv paper link, github repo, and id to connect papers to runnable weights, verify bibliographic and code links, and track community reception.

Documentation: https://openany.si/market/apis/hugging-face/hugging-face-paper-api/?offering=93e5d6f7-46e5-48ad-940d-91072edb6956
API ID: 93e5d6f7-46e5-48ad-940d-91072edb6956
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/huggingface/v1/paper
Page update time: 2026-12-03T02:43:38.226Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:43:37.200Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hugging Face paper API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "arXiv id, or a huggingface.co/papers or arxiv.org link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "ai_keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ai_summary": {
      "type": "string"
    },
    "arxiv_url": {
      "type": "string"
    },
    "authors": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "hf_user": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "hidden": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "cached": {
      "type": "boolean"
    },
    "comments": {
      "type": "null"
    },
    "credits_used": {
      "type": "integer"
    },
    "discussion_id": {
      "type": "string"
    },
    "github_repo": {
      "type": "string"
    },
    "github_stars": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "linked_datasets": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "downloads": {
                "type": "integer"
              },
              "id": {
                "type": "string"
              },
              "likes": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "linked_datasets_total": {
      "type": "integer"
    },
    "linked_models": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "downloads": {
                "type": "integer"
              },
              "id": {
                "type": "string"
              },
              "likes": {
                "type": "integer"
              },
              "pipeline_tag": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "linked_models_total": {
      "type": "integer"
    },
    "linked_spaces": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "likes": {
                "type": "integer"
              },
              "sdk": {
                "type": "string"
              },
              "title": {
                "type": "null"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "linked_spaces_total": {
      "type": "integer"
    },
    "media_urls": {
      "type": "array",
      "items": {}
    },
    "organization": {
      "type": "object",
      "properties": {
        "fullname": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "project_page": {
      "type": "null"
    },
    "published_at": {
      "type": "string"
    },
    "submitted_by": {
      "type": "string"
    },
    "submitted_on_daily_at": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "thumbnail": {
      "type": "null"
    },
    "title": {
      "type": "string"
    },
    "upvotes": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/huggingface/v1/paper?id=2501.12948&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "ai_keywords": [
    "reinforcement learning",
    "multi-stage training",
    "… 3 more"
  ],
  "ai_summary": "DeepSeek-R1-Zero and DeepSeek-R1 utilize reinforcement learning and multi-stage training to enhance reasoning capabilities, with DeepSeek-R1…",
  "arxiv_url": "https://arxiv.org/abs/2501.12948",
  "authors": [
    {
      "hf_user": null,
      "hidden": false,
      "name": "DeepSeek-AI"
    },
    {
      "hf_user": "guoday",
      "hidden": false,
      "name": "Daya Guo"
    },
    "… 198 more"
  ],
  "cached": false,
  "comments": null,
  "credits_used": 1,
  "discussion_id": "6791b70c76d05e183a4116bf",
  "github_repo": "https://github.com/deepseek-ai/deepseek-r1",
  "github_stars": 91994,
  "id": "2501.12948",
  "linked_datasets": [
    {
      "downloads": 23,
      "id": "TheBlueScrubs/TheBlueScrubs-v1",
      "likes": 15
    },
    {
      "downloads": 52,
      "id": "Multiverse4FM/Multiverse-1K",
      "likes": 4
    },
    "… 17 more"
  ],
  "linked_datasets_total": 19,
  "linked_models": [
    {
      "downloads": 1681132,
      "id": "deepseek-ai/DeepSeek-R1",
      "likes": 14428,
      "pipeline_tag": "text-generation"
    },
    {
      "downloads": 109795,
      "id": "deepseek-ai/DeepSeek-R1-0528",
      "likes": 2494,
      "pipeline_tag": "text-generation"
    },
    "… 48 more"
  ],
  "linked_models_total": 545,
  "linked_spaces": [
    {
      "id": "hesamation/primer-llm-embedding",
      "likes": 377,
      "sdk": "static",
      "title": null
    },
    {
      "id": "ecs-lab/SIMPLE",
      "likes": 3,
      "sdk": "static",
      "title": null
    },
    "… 48 more"
  ],
  "linked_spaces_total": 4333,
  "media_urls": [],
  "organization": {
    "fullname": "DeepSeek",
    "name": "deepseek-ai"
  },
  "project_page": null,
  "published_at": "2025-01-22T15:19:35.000Z",
  "submitted_by": "akhaliq",
  "submitted_on_daily_at": "2025-01-23T00:00:00.000Z",
  "summary": "We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1. DeepSeek-R1-Zero, a model trained via large-scale rein…",
  "thumbnail": null,
  "title": "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning",
  "upvotes": 458,
  "url": "https://huggingface.co/papers/2501.12948"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/hugging-face/hugging-face-paper-api/?offering=93e5d6f7-46e5-48ad-940d-91072edb6956

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
