Skip to main content
POST
/
api
/
anaconda
/
packages
/
search
/anaconda/packages/search
curl --request POST \
  --url https://api.anysite.io/api/anaconda/packages/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "name": "<string>",
    "channel": "<string>",
    "@type": "AnacondaSearchPackage",
    "full_name": "",
    "summary": "<string>",
    "description": "<string>",
    "package_types": [],
    "homepage": "<string>",
    "latest_version": "<string>",
    "version_count": 0,
    "platforms": {},
    "conda_platforms": [],
    "license": "<string>",
    "license_url": "<string>",
    "dev_url": "<string>",
    "doc_url": "<string>",
    "source_git_url": "<string>",
    "download_count": 0,
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
name
string
required

Search query matched against package names

Minimum string length: 1
Examples:

"numpy"

"pytest"

count
integer
required

Number of packages to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
platform
enum<string> | null

Restrict to packages that provide a build for this platform (subdir)

Available options:
noarch,
linux-64,
linux-aarch64,
linux-ppc64le,
linux-s390x,
linux-32,
linux-armv6l,
linux-armv7l,
osx-64,
osx-arm64,
win-64,
win-32,
win-arm64,
zos-z
package_type
enum<string> | null

Restrict to packages of this artifact type

Available options:
conda,
pypi,
env,
ipynb,
installer

Response

Successful Response

name
string
required
channel
string
required
@type
string
default:AnacondaSearchPackage
full_name
string
default:""
summary
string | null
description
string | null
package_types
string[]
homepage
string | null
latest_version
string | null
version_count
integer
default:0
platforms
object
conda_platforms
string[]
license
string | null
license_url
string | null
dev_url
string | null
doc_url
string | null
source_git_url
string | null
download_count
integer
default:0
web_url
string
default:""