Marketplace
No threads yet
Live

search_elements

cosmos.so

Searches https://cosmos.so elements by text, content type, color, order, and cursor, returning complete media, caption, source, product, and owner details.

Parameters6
Runs4
Updated51m ago
Operational4 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is search_elements?

Searches https://cosmos.so elements by text, content type, color, order, and cursor, returning complete media, caption, source, product, and owner details. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, content_type, color, order, page_cursor, page_size and get the result back without maintaining a scraper.

Response

{
  "elements": [
    {}
  ],
  "total_count": 0,
  "returned_count": 0,
  "next_page_cursor": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/4e2d89b1-8d8a-48aa-a04d-b54c600d8601/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "4e2d89b1-8d8a-48aa-a04d-b54c600d8601",
    "variables": {
        "query": "design",
        "content_type": "ALL",
        "color": "",
        "order": "RELEVANT",
        "page_cursor": "",
        "page_size": 40
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="4e2d89b1-8d8a-48aa-a04d-b54c600d8601") — the "search_elements" function, which searches https://cosmos.so elements by text, content type, color, order, and cursor, returning complete media, caption, source, product, and owner details..

It takes query (str), content_type (str), color (str), order (str), page_cursor (str), page_size (int). Return the result as structured JSON.