Guides

Search profiles

Fetch all profiles that match match a specified search query.

Profiles can be searched using their handle, name and bio.

Note: There is also the option to further filter the results returned by the search using the where parameter.

Request

ProfileSearchRequest

Invocation

const result = await client.search.profiles({
  query: "searchTerm",
});
query SearchProfiles($request: ProfileSearchRequest!) {
  result: searchProfiles(request: $request) {
    items {
      ...Profile
    }
    pageInfo {
      ...PaginatedResultInfo
    }
  }
}

Response

Paginated result with Profiles


Full GraphQL API Example

πŸ“˜

Search Profiles: GraphQL API Full Example