Perform Your 1st Search

Here we make an API call to search for a keyword ethereum.

curl https://testnet.rss3.io/search/activities?keyword=ethereum

The result, at the time of writing, looks like:

{
  "data": {
    "total": 118,
    "docs": [
      {
        "id": "7L_yaUZC8vKfxMbo0yHksJU-w1p3HkyI0-XFxVZg9ho",
        "owner": "0x98772d2635d2068976c5603740a252a0a5bf13c4",
        "timestamp": 1662992749000,
        "tag": "social",
        "type": "revise",
        "network": "arweave",
        "platform": "Mirror",
        "actions": [
          {
            "tag": "social",
            "type": "revise",
            "platform": "Mirror",
            "index": -1,
            "transaction_hash": "7L_yaUZC8vKfxMbo0yHksJU-w1p3HkyI0-XFxVZg9ho",
            "address_from": "0x98772d2635d2068976c5603740a252a0a5bf13c4",
            "address_to": "Ky1c1Kkt-jZ9sY1hvLF5nCf6WWdBhIU5Un_BMYh-t3c",
            "related_urls": [
              "https://mirror.xyz/0x98772d2635d2068976c5603740a252a0a5bf13c4/wFQhpIYXUb_0D_U82Rk5aJkL8EVpq9nvzdCe5NwC5VQ"
            ],
            "search_extension": {
              "author": "moderneremite.eth",
              "media": [
                "https://miro.medium.com/max/1250/0*Y55xclfFVfsTyqoM.jpeg",
                "https://miro.medium.com/max/996/1*5vB0FrISLOvAyLtEvnJicg.gif",
                "https://miro.medium.com/max/320/1*Kn6AYHKNzjZEeaOdfAFD1Q.gif",
                "https://miro.medium.com/max/1384/0*yiXH8EWt5uiT7jsB.png",
                "https://miro.medium.com/max/996/1*tJ-V2j3fEdmm6Xe5AI3gZQ.gif",
                "https://miro.medium.com/max/1280/1*02HRigVl-n7UQjCQB-0lEQ.gif",
                "https://miro.medium.com/max/800/1*iDytPUERR-7h1ZCwryM0gQ.gif",
                "https://miro.medium.com/max/640/1*8veaubjYzpYRaoK-a_a6iw.gif",
                "https://miro.medium.com/max/1400/0*C9--7Hauya9UHY4j.png",
                "https://miro.medium.com/max/1400/0*8s0AQl-BoT40qKEQ.png",
                "https://miro.medium.com/max/996/1*wbS5qsjDiLFyy3oM4c0iiA.gif",
                "https://miro.medium.com/max/676/1*Dr0Uq87QfFAbEFPVICqVLg.gif",
                "https://miro.medium.com/max/1400/0*f_k0kBDoxTkkhI96.jpeg",
                "https://miro.medium.com/max/996/1*TOtu1H5zaQAgO4J_GKbonQ.gif",
                "https://miro.medium.com/max/996/1*tVMzP-i11PonbXstxPf-Iw.gif"
              ],
              "score": 275.1014,
              "highlighting": {
                "title": "The Future of <span class=\"marker\">Ethereum</span> — <span class=\"marker\">Ethereum</span> Roadmap",
                "author": "",
                "body": "An <span class=\"marker\">Ethereum</span> client is the software needed to allow <span class=\"marker\">Ethereum</span> nodes to read blocks on the <span class=\"marker\">Ethereum</span> blockchain and Ethereum-based smart contracts."
              }
            }
          }
        ],
        "transaction_hash": "7L_yaUZC8vKfxMbo0yHksJU-w1p3HkyI0-XFxVZg9ho"
      }
    ],
    "network_agg": [
      {
        "network": "ARWEAVE",
        "count": 86099
      },
      {
        "network": "POLYGON",
        "count": 29745
      },
      {
        "network": "FARCASTER",
        "count": 2864
      },
      {
        "network": "EIP1577",
        "count": 726
      },
      {
        "network": "CROSSBELL",
        "count": 189
      }
    ],
    "platform_agg": [
      {
        "platform": "MIRROR",
        "count": 85261
      },
      {
        "platform": "FARCASTER",
        "count": 2864
      },
      {
        "platform": "MASTODON",
        "count": 3723
      },
      {
        "platform": "MATTERS",
        "count": 1600
      },
      {
        "platform": "LENS",
        "count": 30583
      },
      {
        "platform": "XLOG",
        "count": 189
      }
    ]
  },
  "meta": "ok",
  "error": null
}

🥳 There you go, you just performed your 1st search on the RSS3 Network.

Alternatively, if you using JavaScript, consider using the 🥇 RSS3 SDK to make your dev life easier.

npm i @rss3/js-sdk
pnpm i @rss3/js-sdk
yarn add @rss3/js-sdk
import { searchClient } from "@rss3/js-sdk";

const res = await searchClient().activities({
  keyword: "ethereum"
});

console.log(res)