Skip to main content
POST
/
api
/
kaggle
/
models
/
search
/kaggle/models/search
curl --request POST \
  --url https://api.anysite.io/api/kaggle/models/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "ref": "<string>",
    "alias": "<string>",
    "title": "<string>",
    "@type": "@kaggle_model",
    "subtitle": "<string>",
    "description": "<string>",
    "author": "<string>",
    "license_name": "<string>",
    "provenance": "<string>",
    "vote_count": 0,
    "is_private": false,
    "image": "<string>",
    "web_url": "<string>",
    "published_at": "<string>",
    "updated_at": "<string>",
    "tags": [],
    "instances": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query for models

Minimum string length: 1
Examples:

"bert"

"gemma"

count
integer
required

Number of models to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
ref
string
required
alias
string
required
title
string
required
@type
string
default:@kaggle_model
subtitle
string | null
description
string | null
author
string | null
license_name
string | null
provenance
string | null
vote_count
integer
default:0
is_private
boolean
default:false
image
string | null
web_url
string | null
published_at
string | null
updated_at
string | null
tags
KaggleTag · object[]
instances
KaggleModelInstance · object[]