InBe Docs

Basic Details Endpoint

This endpoint provides a location overview, including 5 images

The Basic Details endpoint provides essential venue information and images. This is perfect for search result previews, venue lists, and any application where you need quick venue information without the overhead of complete profiles.

Endpoint

GET /v1/establishments/basic/{venueId}

Caching

If you are caching the venue details, you should only cache the venue ID. Do not cache the full venue details response, as the data changes frequently and must always be fetched fresh for accuracy and compliance.

Parameters

id (required)

The venue ID obtained from search results or other InBe endpoints.

Response structure

Basic details response
type  = {
  : string;
  : string;
  : string;
  : string;
  : {
    : string;
    : [number, number];
  };
  : string;
  : string;
  : string;
  : string;
  : string;
  : string[];
  : string;
  : boolean;
  : {
    : string[];
    : {
      : string;
      : string;
      : boolean;
      : boolean;
    }[];
  }[];
  : string;
  : string;
  : string[];
  : string[];
  : {
    : string;
    : string | null;
  }[];
  : string;
  : {
    : string;
    : {
      : string;
      : string;
      : boolean;
      : boolean;
    }[];
  }[];
  : {
    : string[];
    : {
      : string;
      : string;
      : boolean;
      : boolean;
    }[];
  }[];
  : {
    : string;
    : string;
  };
  : {
    : string;
    : number;
  };
  : {
    : boolean;
    : boolean;
    : boolean;
    : boolean;
  };
  : {
    : boolean;
    : boolean;
    : boolean;
    : boolean;
    : boolean;
    : boolean;
    : boolean;
    : boolean;
  };
  : {
    : boolean;
    : boolean;
    : boolean;
    : boolean;
  };
};

Use cases

  • Search result previews
  • Venue list items
  • Quick venue information
  • Performance-critical applications

Real-world examples

TypeScript
async function (: []) {
  const  = await .(
    .(async () => {
      const  = await (
        `/v1/establishments/basic/${.}`,
        {
          : { "Api-Key": `${..}` },
        },
      ).(() => .());
 
      return createVenueCard();
    }),
  );
 
  return ;
}

Best practice

  • Use for lists: Perfect for search results and venue collections
  • Handle missing data: Some venues will have incomplete information
  • Progressive enhancement: Load basic details first, then enhance as needed

Performance tips

  • Batch requests: Load multiple venues in parallel to avoid unnecessary wait times
  • Error boundaries: Handle failed requests gracefully

API Reference

Below is the complete OpenAPI specification for the Basic Details endpoint:

Next steps

On this page