# fetchVCards > Fetch contact cards (vCards) from a CardDAV address book collection. ## `fetchVCards` get all/specified vcards of the passed in addressBook ```ts const vcards = await fetchVCards({ addressBook: addressBooks[0], headers: { authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj', }, }); ``` ### Arguments - `addressBook` **required**, [DAVAddressBook](/types/davaddressbook/) to fetch vcards from - `objectUrls` vcard urls to fetch - `headers` request headers - `headersToExclude` array of keys of the headers you want to exclude - `fetchOptions` options to pass to underlying fetch function - `fetch` custom fetch implementation - `urlFilter` **default: no filter** predicate function to filter urls from the address book before fetching - `useMultiGet` **default: true** whether to use [addressBookMultiGet](/carddav/addressbookmultiget/) as underlying function to fetch vcards, if set to false, it will use [addressBookQuery](/carddav/addressbookquery/) instead :::note Some providers return objects with suffixes other than `.vcf` (for example `http://api.xx/97ec5f81-5ecc-4505-9621-08806f6796a3`). Pass `urlFilter` if you need custom filtering, or set `useMultiGet: false` for providers that do not support `addressbook-multiget`. ::: ### Return Value array of [DAVVCard](/types/davvcard/) ### Behavior a mix of [addressBookMultiGet](/carddav/addressbookmultiget/) and [addressBookQuery](/carddav/addressbookquery/), you can specify objectUrls here.