Facebook received 9,000-10,000 requests for user data from US government entities in the second half of 2012.
The social-networking site said the requests, relating to between 18,000 and 19,000 accounts, covered issues from local crime to national security.
Microsoft meanwhile said it received 6,000 and 7,000 requests for data from between 31,000 and 32,000 accounts.
Leaks by a former computer technician suggest the US electronic surveillance programme is far larger than was known. The firms denied the accusations, saying they gave no such access but did comply with lawful requests.
Several also called on the government to grant them permission to release data about the number of classified orders they received.
'Tiny fraction'
In an effort to reassure its users, Facebook lawyer Ted Ullyot wrote on the company's blog that following discussions with the relevant authorities it could for the first time report all US national security-related requests for data.
"As of today, the government will only authorise us to communicate about these numbers in aggregate, and as a range," he said. For the six months ending 31 December 2012, the total number of user-data requests Facebook received was between 9,000 and 10,000, relating to between 18,000 and 19,000 accounts.
"These requests run the gamut - from things like a local sheriff trying to find a missing child, to a federal marshal tracking a fugitive, to a police department investigating an assault, to a national security official investigating a terrorist threat," Mr Ullyot said.
"With more than 1.1 billion monthly active users worldwide, this means that a tiny fraction of 1% of our user accounts were the subject of any kind of US state, local, or federal US government request."
Mr Ullyot did not indicate to what extent the company had fulfilled the requests, but said Facebook had "aggressively" protected its users' data.
"We frequently reject such requests outright, or require the government to substantially scale down its requests, or simply give the government much less data than it has requested," he said.
Later, Microsoft also published information about the volume of national security orders during the second half of 2012, stressing that they had an impact on only "a tiny fraction of Microsoft's global customer base".