Skip to main content
POST
/
api
/
modelscope
/
datasets
/
search
/modelscope/datasets/search
curl --request POST \
  --url https://api.anysite.io/api/modelscope/datasets/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "clue",
  "organization": "modelscope",
  "tasks": [
    "text:text-classification",
    "image:image-classification"
  ],
  "sort": "trending"
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "ModelScopeDataset",
    "name": "<string>",
    "owner": "<string>",
    "chinese_name": "<string>",
    "description": "<string>",
    "download_count": 123,
    "like_count": 123,
    "license": "<string>",
    "dataset_type": 123,
    "tags": [],
    "user_define_tags": [],
    "created_by": "<string>",
    "created_at": 123,
    "updated_at": 123,
    "storage_size": 123,
    "visibility": 123,
    "full_name": "<string>",
    "related_arxiv_ids": [],
    "related_paper_ids": [],
    "image": "<string>",
    "readme": "<string>",
    "organization": {
      "@type": "ModelScopeOrganization",
      "id": 123,
      "name": "<string>",
      "full_name": "<string>",
      "image": "<string>",
      "github_url": "<string>",
      "created_at": 123,
      "updated_at": 123
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max result count

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keyword
string | null

Free-text search keyword

Example:

"clue"

organization
string | null

Filter by organization/owner namespace

Example:

"modelscope"

tasks
string[] | null

Filter by task codes in 'domain:task' form

Example:
[
"text:text-classification",
"image:image-classification"
]
sort
enum<string>
default:trending

Sort order

Available options:
trending,
downloads,
likes

Response

Successful Response

id
string
required
url
string
required
@type
string
default:ModelScopeDataset
name
string | null
owner
string | null
chinese_name
string | null
description
string | null
download_count
integer | null
like_count
integer | null
license
string | null
dataset_type
integer | null
tags
object[]
user_define_tags
string[]
created_by
string | null
created_at
integer | null
updated_at
integer | null
storage_size
integer | null
visibility
integer | null
full_name
string | null
image
string | null
readme
string | null
organization
object | null