Skip to main content
Glama

Bitrefill Search and Shop

Official
by bitrefill
search.ts813 B
import { SearchOptionsSchema, SearchOptionsType, SearchResults, } from "../schemas/search.js"; import { publicApiClient } from "../utils/api/public.js"; /** * Service for searching Bitrefill products * Uses the PublicApiClient for API requests */ export class SearchService { /** * Search for products by query with optional parameters * @param query - Search query string * @param options - Additional search options * @returns Search results */ public static async search( query: string, options: Partial<SearchOptionsType> = {} ): Promise<SearchResults> { // Validate options const validatedOptions = SearchOptionsSchema.parse(options); // Use the public API client to perform the search return publicApiClient.search(query, validatedOptions); } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bitrefill/bitrefill-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server