The social-network 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 former computer technician Edward Snowden suggest the US electronic surveillance programme is far larger than was known.
Internet companies – including Facebook, Google, Yahoo, Apple and Microsoft – were reported last week to have granted the National Security Agency (NSA) “direct access” to their servers under a data collection programme called PRISM.
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.
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 authorize 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,” Ted 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.”
Ted 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”.
While praising the Department of Justice and Federal Bureau of Investigation for permitting the disclosures, Microsoft Vice-President John Frank called on them to “take further steps”.
“With more time, we hope they will take further steps. Transparency alone may not be enough to restore public confidence, but it’s a great place to start,” he wrote in a statement.
Earlier this month, Edward Snowden, a former employee of defense contractor Booz Allen Hamilton and former CIA technical assistant, leaked details of the PRISM programme.
Edward Snowden, 29, fled the US to Hong Kong shortly before the Guardian and Washington Post newspapers published his revelations.
His whereabouts are unknown, and he has vowed to fight extradition to the US should the authorities attempt to prosecute him.
x0fEYKADmHYImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…