Tag Archives: ape trafficking

Facial Recognition: a new tool in great ape illegal trade investigations

PEGAS has identified and was until recently monitoring over 125 social media sites that have posted 315 individual great apes (a minimum number) either for sale or already purchased. In addition, PEGAS has visited zoos and safari parks in several Middle Eastern and eastern Asian countries that are exploiting hundreds of great apes commercially, ranging in age from infants to old adults. They act as fee-paying photo props with visitors, entertainment performers or as simple zoo attractions when they get older.

From sale online great apes are exploited for many commercial purposes

Photo props when young

Entertainer when a juvenile

Caged up when older, which can last 40 years

All of the great apes online and a high proportion of those seen in the zoos and safari parks were obtained illegally, many stolen from the wild. All of them have been moved from point A to point B, and many have been moved to point C and D and beyond, as they are bought and sold for various money-making purposes. These apes suffer tremendously in these callous moves, which are done in part to cover up the fact that they were imported illegally into the destination country by the first buyer. The second or third buyer can show sales records to the authorities, but when asked for CITES, Customs or veterinary import documents, they just say, “Go talk to the importer”. That’s where it usually stops, as the authorities do not have the time or resources to go find the importers.

If these great apes could be positively identified by some simple, non-invasive technology, that could be the breakthrough that wildlife trade investigators have been dreaming of. Identification using DNA or microchips has proven too difficult and expensive to carry out on a large scale. An ape facial photograph, akin to a police mug shot, could be the solution.

Wildlife dealers and owners post thousands of photos of great apes, most of them recurrences of the same ape. They are seen on multiple accounts as they are shared. It is not easy to determine if the same individual ape is posted on multiple accounts, unless the photos are identical duplicates. A facial recognition tool would enable the positive identification of each individual, as long as the face was showing at a good angle.

Are these the same or different chimps?

 

If we can positively identify an individual ape from its photo, it will be possible to track apes from seller to buyer online, and even from seller to buyer in zoos and safari parks, if the seller posted online the photo of that individual. It will also be possible to track movements of apes in zoos and safari parks, which may signal illegal arrivals, departures and replacements. This technology could even be used for prosecutions, depending on its accuracy.

Dr. Anil Jain, distinguished biometrics professor at Michigan State University, and his team modified their human facial recognition system to create LemurFaceID, the first computer facial recognition system that correctly identified more than 100 individual lemurs with 98.7 percent accuracy.

“Like humans, lemurs have unique facial characteristics that can be recognized by this system,” Jain said. “Once optimized, LemurFaceID can assist with long-term research of endangered species by providing a rapid, cost-effective and accurate method for identification.”

Dr. Jain and postgraduate student Debayan Deb have volunteered to adapt the LemurFaceID methodology to chimpanzee faces. If that proves successful, PEGAS hopes that they can repeat it with an orangutan face ID application in future.

PEGAS is now working with dedicated wildlife conservationist Alexandra Russo, who has generously volunteered to lead the development of the ChimpFaceID initiative. Using a more advanced method than was used with the lemurs, titled PrimNet, based on Convolution Neural Network (CNN) architecture, the Michigan State team will analyze and test their technology on hundreds of chimp face photos that we are now collecting in collaboration with the Jane Goodall Institute, members of the Pan African Sanctuary Alliance and others.

“I have brought together volunteers working at Sweetwaters Chimpanzee Sanctuary on Ol Pejeta Conservancy, Kenya, at Tchimpounga in the Congo, Tacugama in Sierra Leone and in the USA at Chimpanzee Sanctuary Northwest in Washington State and Save the Chimps in Florida to provide the photos,” said Alexandra Russo, nicknamed Allie.

Allie went on to say, “The Max Planck Institute provided photos for an initial test of the PrimNet system, but it needs to be further tested and perfected to achieve a higher rate of correct identifications.”

Although still in its initial stages, several organizations have shown interest in PrimNet for use in illegal wildlife trade investigations and for monitoring of great ape population numbers and distribution in the wild. We hope to be able to present an exposition of the application’s potential as part of Bio-Bridge Initiative at the 14th Conference of the Parties of the Convention on Biological Diversity in Egypt in November 2018.

If the PrimNet technology works to the high 90s percent accuracy, investigators might one day be able to track an infant ape captured in the forests of Africa or Asia to a dealer selling it online in the home country to a dealer in the destination country and even on to the buyer. The photos, along with other evidence gathered in the course of investigations, could be used to arrest and prosecute the dealers, facilitators and even the buyer.

One day we may be able to positively identify chimp faces at point of origin, to dealer, to buyer.

Inside the cruel world of illegal chimp trading: How apes are stolen to order, crammed into crates then smuggled across the world to satisfy the whims of the ignorant and wealthy

Ian Birrell of the Mail On Sunday has published an article on wildlife traffickers that were arrested in Nepal last October. One of them, a Pakistani named Jawaid Khan, has been in PEGAS’s crosshairs for several months. Khan has been smuggling chimps out of Kano, Nigeria, for years. PEGAS brought the story to Birrell’s attention and worked with him on it. 

Ian Birrell, Mail On Sunday, 13 January, 2018

  • Traumatised animals are transported thousands of miles from their native lands
  • Chimps sold for up to £50,000 to wealthy collectors in Asia and the Middle East
  • Police have launched crack down on smugglers, arrested four men last week

RESCUED: The two baby chimps found hidden in a crate flown into Kathmandu

The crate flown in from Istanbul was filled with exotic creatures for collectors: tantalus and patas monkeys, golden and ring-necked pheasants, scores of parrots and several dozen pigeons.

The cargo quickly cleared customs and quarantine checks –thanks to a £4,400 bribe, say investigators – and was collected by a pair of local bird dealers in Kathmandu.

Little did they know they were being observed by a special squad of Nepalese police investigating a major international wildlife smuggling ring.

For also inside the crate – stuffed into a secretive middle section – were two infant chimpanzees, cowering in fear after being ripped from their slaughtered families in an African forest.

The traumatised animals had been transported thousands of miles from their native lands and were at risk of dying of suffocation. They could barely be detected hidden among the more humdrum birds and monkeys.

For these terrified chimps, barely a year old, suffering severe dehydration and shedding body weight inside their grim container, were prized assets in a barbaric global trade in great apes that is decimating the species.

Such creatures can be sold for up to £50,000 to wealthy collectors in Asia and the Middle East – but for each one seized from the wild, up to ten of our closest genetic cousins are killed by poachers to get the babies demanded by buyers.

The Central Bureau of Investigation team, acting on a tip-off from an informant, watched as the crate of creatures was taken to the nearby base of one of the dealers. There the dealers were joined by an Indian businessman and his assistant.

The police moved in and arrested the four men on suspicion of settling a clandestine deal to shift the animals to India, which shares open borders with Nepal.

Investigators suspect he could be a significant figure in the shady world of animal smuggling in which selfish crooks send baby apes in the most horrific conditions to collectors around the planet.

They wonder whether he might be the figure known as ‘Jawaid Chimpanzee’ in the secretive forums where illicit deals are made and amid the furtive chatter of traders.

Exposed: Jawaid Aslam Khan poses as an animal lover on Facebook but investigators say he is a key player in a cruel industry
[photo provided by PEGAS]

Investigators suspect that Khan, whose social media sites show him routinely clutching baby chimpanzees and other rare animals such as white tiger cubs along with rapid-fire guns, has become one of the key players in a cruel industry.

‘This guy’s name would pop up again and again,’ said Doug Cress, chief executive of the World Association of Zoos and Aquariums and former head of a United Nations initiative to protect great apes.

Great apes are among the world’s most intelligent and protected animals, and their sale is banned except from certified breeding centres. They have become a highly profitable part of the illegal wildlife trade, with baby gorillas fetching up to £200,000.

Unlike trade in ivory or rhino horn, however, this involves fast transit of live animals. Often they are drugged and crammed into suitcases or containers; one baby chimp was even discovered in hand baggage scanned at Cairo airport.

The buyers are rich families in the Arabian Gulf and Asia who often keep these sensitive and sociable creatures in solitary cages, dressing them up in children’s clothes then dumping, killing or selling them when they grow into more aggressive teenagers.

SHAMEFUL: Rich buyers often dress up baby chimps
[Photo provided by PEGAS]

Some have been taught to smoke, forced to wear make-up or simply beaten into performing the most banal tricks for their masters.

Many end up as props for tourist pictures, performing stunts such as boxing in animal shows or suffering miserable incarceration for decades in dodgy zoos. Some are driven mad, making them hard to rehabilitate if rescued.

There is also huge risk of spreading disease and parasites from animals evading quarantine checks. Experts fear scores of great apes are being smuggled each month, many dying in transit. ‘We are only just beginning to understand the scale of this,’ said Cress. ‘It is an incredibly brutal market in very fragile animals.’

This is why last year’s Nepal bust marks a significant breakthrough, since those usually caught are low-level poachers and traders on the ground in Africa, not the people suspected of running sophisticated global smuggling networks.

Nepalese investigators suspect Khan was also sending smuggled chimpanzees to Bangladesh, Thailand and several other countries.

Khan, currently held in Nepalese custody, is a familiar figure to those fighting the trade, such as Daniel Stiles, a Kenya-based conservationist who hunts smugglers. He has developed a network of informants and scans dark web sites and social media.

Stiles said Khan’s name cropped up in previous investigations – including one that resulted in the capture of traders in Ivory Coast last year – and in online discussions. ‘They talk about Jawaid Chimpanzee because he holds so many chimps,’ he said.

Bubbles: The chimp once owned by Michael Jackson seen painting

Khan has regularly posted pictures of baby chimps, sometimes in his arms, on his Facebook site as he travels the world. In one post, in May 2016, he replies to an enquiry asking if one of the infant apes can go to Pakistan, saying ‘why not’. Under international rules to protect wildlife, chimpanzees have the highest protection. Their export is tightly controlled. Chimps sent abroad must be bred in recognised centres of captivity and destined for non-commercial use, while all trades must be registered.

Stiles saw that Khan had posted a picture of two baby chimps in June last year on the site of a suspected Turkish animal smuggler with links to central Africa. He contacted Anil Jain – a biometrics expert and professor of computer science at Michigan State University who has been developing facial-recognition systems for wildlife – to help determine if these were the same animals seized in Kathmandu.

‘The scores indicate a high likelihood these are the same chimps,’ said Prof Jain last week.

Khan’s social media postings discovered by Stiles also show other pictures of endangered species –and guns such as a semi-automatic Heckler & Koch rifle, plus a clip of bullets. They reveal he makes frequent trips to Kano, Nigeria – a noted centre for wildlife smuggling where the shipment for Nepal originated – and has made multiple trips to Istanbul, the transit point. He even posted online a snap of an airline boarding pass between the two cities.

Other recent postings show giraffes and hippopotamuses packed into crates and lorries. There are images from Kano of wooden crates marked ‘Live Animals’ on a runway beside an aircraft – along with the message ‘congratulations boss’ from an employee of an African firm linked to the illicit trading of birds and bushmeat.

Many key smugglers run firms that also legitimately trade animals. This helps mask illicit activities, aided by corrupt officials who assist them to evade customs and conservation controls in return for chunky pay-offs.

A report being finalised by Global Financial Integrity, a Washington-based think tank, will reveal the chimpanzee trade is worth tens of millions of dollars annually – although those capturing them earn as little as £36 for each animal.

‘This is a very well organised business,’ said Channing May, a policy analyst. ‘You need organisation and skills to transport these animals. Many traders operate front companies that manipulate documents to make movements look legitimate.’

The impact of their callous trade is catastrophic. It is thought that about 300,000 chimps survive in the wild, where they face threats from population growth, loss of habitat, conflict and poaching. They have been wiped out already in four countries.

Poachers usually wipe out entire families or social groups to grab one cute infant, selling any slaughtered creatures for bushmeat.

Adult chimpanzees are several times stronger than humans and can deliver savage bites. Some captives have their teeth pulled out, thumbs amputated to stop them climbing, or are hideously beaten with metal bars to control them.

One landmark UN study revealed that 1,800 apes were discovered in 23 countries while being trafficked between 2005 and 2011. But over the same period there were only 27 arrests in Africa and Asia – and some of those held were not prosecuted.

Yet there is a glimmer of good news.

The two Kathmandu chimps have become friends and are recovering well from their trauma in Nepal’s Central Zoo while experts await results of DNA testing to discover if they hail from Nigeria or another African nation for safe return to a sanctuary.

‘These guys may have a happy ending and hopefully live for another 60 years,’ said Mr Cress.

‘But sadly, thousands of other less fortunate chimps will die because of this vile trade.’

Will Chimpu and Champa, the names given to the chimpanzees, have a happy life? Nepal’s Central Zoo seems determined to keep them. The zoo is little better than the Abidjan Zoo where Nemley Junior, the chimp seized in the BBC sting, died. Ibrahima Traore and his brother Mohamed were out in six months after their arrest.

Smuggled, Beaten and Drugged: The Illicit Global Ape Trade

This will be the last post for this year, maybe forever. The PEGAS project has run its course, in fact it has run beyond its initial 3-year time frame. If additional funding is secured the project will continue.

This article on great ape trafficking and the project’s work just appeared in The New York Times .

The New York Times tracked international ape smugglers from Congolese rain forests to the back streets of Bangkok. Here is what unfolded.

By JEFFREY GETTLEMAN NOV. 4, 2017

MBANDAKA, Democratic Republic of Congo — The sting began, as so many things do these days, on social media.

Daniel Stiles, a self-styled ape trafficking detective in Kenya, had been scouring Instagram, Facebook and WhatsApp for weeks, looking for pictures of gorillas, chimps or orangutans. He was hoping to chip away at an illicit global trade that has captured or killed tens of thousands of apes and pushed some endangered species to the brink of extinction.

“The way they do business,” he said of ape traffickers, “makes the Mafia look like amateurs.”

After hundreds of searches, Mr. Stiles found an Instagram account offering dozens of rare animals for sale, including baby chimpanzees and orangutans dressed in children’s clothes. He sent an email to an address on the account — “looking for young otans” (the industry standard slang for orangutans) — and several days later received a reply.

“2 babies, 7.5k each. Special introductory price.”

The trafficker identified himself only as Tom and said he was based in Southeast Asia. Mr. Stiles knew what Tom was hoping for: to sell the infant orangutans to a private collector or unscrupulous zoo, where they are often beaten or drugged into submission and used for entertainment like mindlessly banging on drums or boxing one another. Such ape shows are a growing business in Southeast Asia, despite international regulations that prohibit trafficking in endangered apes.

Several weeks later, after a few more rounds of text messages with Tom to firm up the details, Mr. Stiles decided to fly to Bangkok.

“I was way out on a limb,” Mr. Stiles admitted later. But he was eager to bring down Tom, who indicated that he could find orangutans and chimps with only a few days’ notice, the mark of a major dealer.

Employees of the reserve, Lola Ya Bonobo, with young rescued bonobos in its nursery.
Credit Bryan Denton for The New York Times

‘Endgame Conservation’

Ape trafficking is a little-known corner of the illicit wildlife trade, a global criminal enterprise that hauls in billions of dollars. But unlike the thriving business in elephant ivory, rhino horns, tiger bone wine or pangolin scales, ape smuggling involves live animals — some of the most endangered, intelligent and sensitive animals on Earth.

Mr. Stiles, 72, grew intrigued by apes decades ago as a graduate student in anthropology. Since then, he has plunged deeper and deeper into the ape world, becoming the lead author of “Stolen Apes,” a report published by the United Nations in 2013 that was considered one of the first comprehensive attempts to document the underground ape trade. He and the other researchers estimated that the smuggling had claimed more than 22,000 apes — either trafficked or killed.

Malnourished and terrified apes have been seized across the world, in undercover busts or at border checkpoints, in countries as varied as France, Nepal, Thailand, the Democratic Republic of Congo and Kuwait. Two years ago, at Cairo’s international airport, the Egyptian authorities discovered a baby chimp curled up into a ball and stashed in a piece of hand luggage. Just this summer, the authorities in Cameroon stopped a smuggler at a roadblock who was trying to move 100 pounds of pangolin scales and a tiny chimp, not even a month old, hidden in a plastic sack.

But for every successful bust, wildlife specialists say, five to 10 other animals slip through. And for every smuggled ape, several more may have been killed in the process. Most species of apes are social and live in large groups, and poachers often wipe out entire families to get their hands on a single infant, which is far easier to smuggle.

“Transporting an adult chimp is like transporting a crate of dynamite,” said Doug Cress, who until recently was the head of the Great Apes Survival Partnership, a United Nations program to help great apes. “The adults are extremely aggressive and dangerous. That’s why everyone wants a baby.”

Wildlife researchers say that a secret ape pipeline runs from the lush forests of central Africa and Southeast Asia, through loosely policed ports in the developing world, terminating in wealthy homes and unscrupulous zoos thousands of miles away. The pipeline, documents show, is lubricated by corrupt officials (several have been arrested for falsifying export permits) and run by transnational criminal gangs that have recently drawn the attention of Interpol, the international law enforcement network.

Apes are big business — a gorilla baby can cost as much as $250,000 — but who exactly is buying these animals is often as opaque as the traffickers’ identity. Many times, researchers say, they can only begin to track where the apes have ended up by stumbling across the Facebook posts and YouTube videos of rich pet collectors.

A bushmeat market along the Congo River. Many endangered apes disappear each year into the trade of bushmeat, a source of protein. Credit Bryan Denton for The New York Times

Wildlife officials said that a handful of Western businessmen had also been arrested. But the majority of recent busts, they added, have been in Africa or Southeast Asia, usually of low-level traffickers or poorly paid underlings, not the bosses who control underground exports and travel abroad to make deals.

For years wildlife officials suspected that a mysterious American known simply as “Joe” was running a large trafficking ring out of Thailand, one of the world hubs for smuggled apes. According to “Tom,” the trafficker Mr. Stiles discovered, “Joe” had recently retired.

And it’s not as if smuggling is the only threat apes face. The world’s hunger for biofuels and palm oil — a cheap food product used in things like lipstick, instant noodles and Oreos — is leveling tropical rain forests and turning them into farms.

According to the Arcus Foundation, a nonprofit group that studies apes, Indonesia and Malaysia have tripled their palm oil production in the past 15 years, wiping out the habitats of thousands of orangutans. In Africa, it’s the same, with new rubber plantations, new roads and new farms cutting deeply into gorilla areas. One species, the Cross River gorilla, is now so endangered that scientists think there are only 200 or 300 left.

“In living memory, there were millions of apes,” said Ian Redmond, a well-known primatologist. “Now, there’s just a few hundred thousand and falling.”

“What we’re looking at,” he added, “is endgame conservation.”

The Apes’ World

Most apes, which include gorillas, gibbons, orangutans, chimpanzees and bonobos, live deep in the rain forest. The Basankusu region of Congo, lying along a tributary of the legendary Congo River, is one of the last bonobo refuges and a source of many trafficked apes.

It’s not easy getting here. We flew from Congo’s capital, Kinshasa, to Mbandaka, a river town where 50-foot dugout canoes arrive every morning, edging into shore crammed with products of the forest: onions, eggplants, buckets of red-skinned peanuts, dead pangolins, dead turtles, dead monkeys and, occasionally, live apes.

From Mbandaka, we hired a canoe and motored upriver, our long, narrow boat slicing through the tannin-rich water like a pencil. We made it to the bonobo habitat, amazed to see wild bonobos quietly staring down at us from the highest branches of the trees.

“They have consciousness, empathy and understanding,” said Jef Dupain, an ape specialist for the African Wildlife Foundation. “One day we will wonder how did we ever come up with the idea to keep them in cages.”

In central African towns (as elsewhere in the world), many chimpanzees are kept as pets. Congo’s president, Joseph Kabila, who lives in a riverside mansion in Kinshasa, the capital, has a large chimp locked up in a cage. At the Hotel Benghazi in Mbandaka, the owner had kept a muscular mascot for years: Antoine, a large male chimp who scraped an empty soda bottle against the iron bars of his garbage-strewn cage, like an inmate. (Antoine escaped in January and, after sowing disorder in Mbandaka, was hunted down by police officers, shot 10 times and left dead on a city street.)

Antoine, a captive chimpanzee at a hotel in Mbandaka, Congo. He escaped in January and was shot by the police.
Credit Bryan Denton for The New York Times

As one leaves the towns and travels into the thick forests, the use of apes changes. Out here, as in remote parts of Southeast Asia, where many people are poor and desperate for protein, apes are also food.

Jonas Mange, who now works on education projects for the African Wildlife Foundation, used to hunt bonobos in Congo, venturing into the shadowy recesses of the forest and laying snares made from loops of twisted wire. If he discovered an adult bonobo in one of his traps, he would quickly shoot it with a shotgun and sell the meat, usually for a few dollars per carcass, if that.

But a baby was different, he said. There was a specific market for infant apes, so he would sell them alive, for at least $10 each, to local traders who would then smuggle them to Kinshasa and sell them to foreigners for many times that amount.

“Bonobos are clever,” Mr. Mange said. If they get their feet stuck in a trap, they don’t screech wildly in panic, like pigs or other animals, which would reveal their location to the hunters. Instead, he said, bonobos quietly try to untangle the snare without being detected.

In Boende, a small town up another tributary of the Congo River, three hunters were recently caught with bonobo carcasses and sentenced to several years in a stifling colonial-era prison. The men said they were simply trying to feed their families by selling bonobo meat. But poaching an ape is a serious crime in Congo, and nonprofit wildlife groups have been assisting the Congolese authorities in prosecuting offenders.

“There is a culture here to eat meat, meat from the forest,” said the town’s prosecutor, Willy Ndjoko Kesidi. “Me, I like fish.”

Mr. Kesidi expressed some sympathy for the hunters he had just jailed, saying that the prison where they were housed was a horrible place where many prisoners had died.

“If you spend a lot of time in there,” Mr. Kesidi said, “the color of your skin changes.”

Men suspected of poaching bonobos, handcuffed together at a prison in Boende, Congo. Credit Bryan Denton for The New York Times

The Sting

For years, Mr. Stiles has performed undercover research on wildlife trafficking across Africa, but recently his work has taken him off the continent. A big, freckled, gregarious man, he favors wearing baggy shorts and wrinkled safari shirts. He has also invented several false online identities, with webpages that depict him as an active buyer of rare animals.

Many illegal wildlife transactions start online, specifically through Instagram or WhatsApp. Mr. Stiles has made several trips to the United Arab Emirates, which he considers a new hub for the illegal online wildlife business. Dealers in the Middle East have posted many pictures of apes for sale, sometimes advertising them as friendly pets for children.

Disturbing stories often lie behind those pictures. Many chimps have been drugged with muscle relaxers or alcohol to make them easier to handle. Some are trained to smoke cigarettes and guzzle beer.

Orangutans are gentler than chimps, but still, they are not always gentle, and investigators say zoo trainers sometimes beat them with lead pipes wrapped in rolled-up newspapers to force them to perform tricks. Several years ago, the Indonesian police rescued a female orangutan who had been shaved and was being used as a prostitute at a brothel.

“Even if we can rescue them, it’s very difficult reintroducing them to the wild,” said Mr. Cress, the former head of the United Nations Great Apes program. “They’re all goofed up. They need serious rehab. The ones who have been given alcohol, their hands shake. They have the same withdrawal symptoms we do.”

International wildlife regulations prohibit the trade of endangered apes for commercial purposes. While zoos and other educational institutions are allowed to acquire apes, they need permits showing, among other things, that the apes were bred in captivity, not captured in the wild. (All great ape species are endangered; most gibbons species are as well.)

It’s relatively easy to falsify permits, though, and wildlife investigators have tracked illegally sold apes to Iraq, China, Dubai and Bangkok’s Safari World zoo, where orangutans have been trained to wear boxing gloves and spar with each other to howls of laughter.

Safari World was outed more than 10 years ago for using orangutans that had been smuggled from Indonesian jungles. Dozens of animals were seized from the park and flown home, where the wife of Indonesia’s president welcomed them.

But the boxing shows continue, with a new set of animals, despite an outcry from wildlife groups. Safari World executives said that none of their animals were abused and that the orangutans were fed “human-grade fruits” and lived in air-conditioned rooms.

They also said it wasn’t their fault that the authorities had discovered that some of their orangutans had been improperly acquired from Indonesia. Safari World said it relied on third-party suppliers, and the zoo insisted that most of its apes had been born in Thailand.

“When you come to our park,” said Litti Kewkacha, its executive vice president, “you will only see smiles on our orangutans.”

Constantly on the lookout for mistreated apes, wildlife activists have been frustrated with some celebrities as well. Last year, the United Nations program, Grasp, publicly chastised Paris Hilton for circulating pictures of herself cuddling an infant orangutan dressed in baby clothes. Saying that “apes are neither playthings nor pets,” it called Ms. Hilton’s behavior “appalling.”

To arrange his orangutan sting, Mr. Stiles checked into the Landmark hotel in Bangkok. From a quiet room overlooking clogged arteries of traffic, he began sending the wildlife trafficker Tom messages on WhatsApp.

Daniel Stiles, a self-styled ape detective who lives in Kenya.
Credit Georgina Goodwin for The New York Times

Mr. Stiles knew it was dangerous to flirt with a known smuggler. So he brought his investigation to Freeland, a nonprofit group that combats wildlife and human trafficking from a large office in central Bangkok. Freeland works in secrecy, with undercover agents based in a sealed room that other employees are not allowed to enter. It also works closely with the Thai police services, including one cheerful undercover officer who goes by the name Inspector X.

Over the next few days, with Inspector X and other agents lurking in his high-rise hotel room, Mr. Stiles exchanged more WhatsApp messages with Tom, trying to arrange a meet-up. A couple of times, they even talked on the phone. Tom’s real identity remained a mystery. He had a Malaysian or Indonesian accent, spoke English fluently and was never at a loss for words.

“Oh man, you’re going to have some fun,” Tom said about the orangutan babies. “Getting ready for some sleepless nights?”

In late December, the day of the meet-up, Inspector X and the other Thai agents staked out the appointed location — a supermarket parking lot in central Bangkok. A taxi pulled up.

Inspector X and the agents pounced, arresting the driver and discovering two baby orangutans in the back seat, clutching each other. They appeared scared but healthy, and have since been sent to a Thai wildlife sanctuary. But Tom was nowhere to be found.

Mr. Stiles was overjoyed that the orangutans were rescued, but he was frustrated, too. “We got to get to the dealers,” he said.

Since the sting, he has been back on Instagram, looking for more apes. And more Toms.