ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Interface CompoundResponse

    Response structure for compound search results from PubChem API

    interface CompoundResponse {
        status: { code: StatusCodes };
        total: number;
        dictionary_terms: { compound: string[] };
    }
    Index

    Properties

    status: { code: StatusCodes }

    Status information about the API response

    Type declaration

    • code: StatusCodes

      HTTP status code

    total: number

    Total number of results found

    dictionary_terms: { compound: string[] }

    Dictionary containing search terms and results

    Type declaration

    • compound: string[]

      Array of compound names matching the search query