Skip to main content
POST
/
api
/
huggingface
/
papers
/huggingface/papers
curl --request POST \
  --url https://api.anysite.io/api/huggingface/papers \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "paper": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "title": "<string>",
    "@type": "@huggingface_paper",
    "summary": "<string>",
    "authors": [],
    "published_at": "<string>",
    "upvote_count": 123,
    "comment_count": 123,
    "discussion_id": "<string>",
    "ai_summary": "<string>",
    "ai_summary_model": "<string>",
    "ai_keywords": [],
    "project_page": "<string>",
    "github_repo": "<string>",
    "image": "<string>",
    "submitted_by": "<string>",
    "linked_models": [],
    "linked_datasets": [],
    "linked_spaces": [],
    "num_total_models": 123,
    "num_total_datasets": 123,
    "num_total_spaces": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
paper
string
required

arXiv paper id or arXiv URL

Minimum string length: 1
Examples:

"1706.03762"

"https://arxiv.org/abs/1810.04805"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
title
string
required
@type
string
default:@huggingface_paper
summary
string | null
authors
HuggingfacePaperAuthor · object[]
published_at
string | null
upvote_count
integer | null
comment_count
integer | null
discussion_id
string | null
ai_summary
string | null
ai_summary_model
string | null
ai_keywords
string[]
project_page
string | null
github_repo
string | null
image
string | null
submitted_by
string | null
linked_models
HuggingfaceLinkedRepo · object[]
linked_datasets
HuggingfaceLinkedRepo · object[]
linked_spaces
HuggingfaceLinkedSpace · object[]
num_total_models
integer | null
num_total_datasets
integer | null
num_total_spaces
integer | null