Neynar Documentation

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.


Usage

import { NeynarAPIClient, Configuration } from "@neynar/nodejs-sdk";

const client = new NeynarAPIClient(
  new Configuration({ apiKey: "YOUR_NEYNAR_API_KEY" })
);

const res = await client.searchFrames({
  q: "example", // Query string to search for mini apps
  // limit: 123,
  // cursor: "example",
  // networks: [],
});
console.log(res);

Parameters

Parameter Type Required Description
q string Query string to search for mini apps
limit number -
cursor string -
networks Array<SearchFramesNetworksEnum> -

Response

Returns a RequestArgs object.

Error Handling

try {
  const res = await client.searchFrames({
    q: "example"
  });
  // use res
} catch (err) {
  // Axios/HTTP errors, invalid params, auth issues, etc.
  console.error(err);
}

Tips