Skip to main content

Search Queries

Search the Intuition knowledge graph for atoms, terms, and positions using text-based queries.

Available Queries​

QueryDescription
search_termSearch atoms and terms by text
search_term_from_followingSearch within followed accounts' activity
search_positions_on_subjectFind positions related to a subject

Quick Start​

import { GraphQLClient } from 'graphql-request'
import { API_URL_PROD } from '@0xintuition/graphql'

const client = new GraphQLClient(API_URL_PROD)

// Search for atoms
const query = `
query SearchTerms($search: String!, $limit: Int!) {
search_term(
args: { search: $search }
limit: $limit
) {
term_id
label
image
type
}
}
`

const data = await client.request(query, {
search: 'ethereum',
limit: 10
})

Search Features​

  • Full-text search: Search across atom labels and data
  • Case-insensitive: Searches ignore case
  • Partial matching: Find partial term matches
  • Social filtering: Search within your network