Extrator de Texto de Artigo API

A API Extrator de Texto de Artigo oferece extração rápida e fácil de texto limpo e dados estruturados de artigos de notícias e blogs Livre-se de anúncios links e outros conteúdos indesejados e concentre-se no conteúdo principal do artigo tornando-a ideal para PLN e análise de dados
Use esta API do seu agente de IA via MCP
Funciona com OpenClaw, Claude Code/Desktop, Cursor, Windsurf, Cline e qualquer cliente de IA compatível com MCP.
Docs e configuração
Crie uma skill envolvendo este MCP: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

Sobre a API: 

A API Article Text Extractor é uma ferramenta poderosa para extrair texto limpo e outros dados estruturados de artigos de notícias e blogs. Com esta API, você pode rapidamente e facilmente se livrar de anúncios, links e outros conteúdos indesejados, e focar no conteúdo principal do artigo.

A API utiliza técnicas avançadas de processamento de linguagem natural (NLP) para extrair informações relevantes de artigos, incluindo o texto do próprio artigo, autores, datas e outros metadados. Esta informação é então retornada em um formato estruturado, facilitando o uso para análise de dados e aplicações de NLP.

A API foi projetada para ser amigável ao usuário e fácil de integrar, para que você possa começar a usá-la imediatamente. Se você é um analista de dados que busca realizar análise de sentimento em artigos de notícias, ou um desenvolvedor que deseja construir um agregador de notícias personalizado, a API Article Text Extractor tem tudo o que você precisa.

Com seu processo de extração rápido e eficiente, você pode rapidamente processar grandes quantidades de artigos e extrair as informações que precisa. Então, por que esperar? Inscreva-se na API Article Text Extractor hoje e comece a aproveitar ao máximo seus artigos de notícias e blogs. De texto limpo a dados estruturados, esta API tem tudo o que você precisa.

 

O que esta API recebe e o que sua API fornece (entrada/saída)?

Passe a URL do artigo de onde você deseja extrair seu conteúdo. 

 

Quais são os casos de uso mais comuns desta API?

  1. Agregação de Notícias: A API pode ser usada para extrair o texto principal e dados estruturados de artigos de notícias para construir agregadores de notícias personalizados.

  2. Análise de Sentimento: A API pode extrair texto limpo de artigos para realizar análise de sentimento e determinar o sentimento geral expresso em artigos de notícias.

  3. Recomendação de Conteúdo: A API pode extrair texto de artigos e metadados para criar sistemas de recomendação baseados em conteúdo para usuários.

  4. Análise de Dados: A API pode extrair dados estruturados de artigos, como autores, datas e palavras-chave, para realizar análise de dados em artigos de notícias e blogs.

  5. Resumir Texto: A API pode extrair o texto principal de artigos para criar resumos de texto, facilitando a compreensão rápida do conteúdo dos artigos pelos usuários.



Existem limitações nos seus planos?

Além do número de chamadas de API, não há outras limitações

Documentação da API

Endpoints


Ponto de Extração de Artigos

 


                                                                            
GET https://zylalabs.com/api/1334/article+text+extractor+api/1114/text+extractor
                                                                            
                                                                        

Extrator de Texto - Recursos do endpoint

Objeto Descrição
url [Obrigatório]
js Opcional indicates whether to execute JavaScript or not.
js_timeout Opcional when JavaScript is enabled, indicates how many seconds the API should wait for the JS interpreter before starting the extraction
media Opcional extract media
Testar endpoint

RESPOSTA DE EXEMPLO DA API

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"article":{"text":"Packing their lives up and heading off on a lengthy road trip was something Nina and Kai Schakat, both from Germany, had envisioned doing together during their retirement.\nBut after the death of Nina\u2019s father, and the impact of the global Covid-19 pandemic, the couple, who have two children, Ben, 11 and Leni, 10, decided that they couldn\u2019t wait any longer.\n\u201cWe were just wondering why everybody waits until retiring,\u201d Nina tells CNN Travel. \u201cAnd we challenged ourselves to think if such a trip is possible to enjoy with the kids when they are in the right age to understand the journey and still keen to travel with us parents.\u201d\nWhen they began researching a potential trip around Asia, the Schakats, who have lived in Dubai for around 15 years, quickly realized that they\u2019d struggle to afford the accommodation costs and flights for four people and started looking into alternative modes of transportation.\nAfter noting that a van would perhaps be too small, as their children are \u201ca little bit on the taller side,\u201d they decided on a bus.\nThe Schakats then bought an old bus by an Indian vehicle manufacturer named Ashok Leyland for $6,000 and set about converting it into a fully equipped home on wheels.\n\nBUS TOUR\nThe Schakats spent $40,000 converting this bus into a fully-equipped home on wheels to travel in.  8feet6wheels Over a period of around nine months, they kitted out the vehicle, which measures 12 meters long and 2.4 meters wide, with a dining and lounge area, two bunk beds, a shower room and a master suite. The bus was also fitted with solar panels and a large water tank.\nFinally, the couple brought in an artist friend to spray paint a colorful mural onto the exterior in order to give it a more fun and child friendly feel. The total cost of the conversion came to around $40,000, according to the Schakats.\n\u201cWe have a fully equipped kitchen with a big household fridge, freezer and washing machine.\u201d explains Kai, who has worked as a truck driver for several years, and managed to secure his bus driving license before the trip.\n\u201cWe have everything [we need]. We can spend one week somewhere without needing water or power, and we have enough food supplies [to last us].\u201d\nBefore completely committing to the trip, the family took a test drive from Dubai to Oman both \u201cto see if they liked it,\u201d as well as check that all of the new fittings and fixtures on the bus were running smoothly.\n\u201cThere were a few hiccups that we had to resolve,\u201d admits Nina.\nOnce they were satisfied, the Schakats threw themselves into preparing for the trip and getting things in order so that they could essentially put their life in Dubai on hold for 13 months.\n\u201cThat was exhausting,\u201d admits Nina, adding that both she and Kai worked up until the day before they left. \u201cThere were thousands of things to take care of.\u201d\nAfter shipping the bus to Iran last August, the Schakats traveled to the country by ferry to pick up their vehicle, got on board and set off on the journey they\u2019d been dreaming about for years.\nAlthough they had initially planned to drive from Iran to Pakistan, the heavy floods which hit parts of Pakistan from late summer last year meant abandoning that route.\nInstead, they opted to drive to Turkey, spending a few weeks driving up to the central region of Cappadocia, famous for its \u201cfairy chimney\u201d landscapes, before making their way back to Iran and attempting to drive across to Pakistan once again.\nUnfortunately, the political situation in Iran had altered significantly during their time in Turkey and their second visit proved to be a very different experience.\nThe death of a 22-year-old  Kurdish Iranian woman  had led to protests, and authorities\u2019 were attempting to contain the spread of demonstrations through internet blackouts.\nThis meant that mobile networks were largely shut down and access to Instagram and WhatsApp, which the family relied on to keep friends and family updated on their whereabouts, had been restricted.\n\u201cWe drove through Iran very quickly, because we didn\u2019t have any internet,\u201d explains Nina. \u201cWe were always usually in touch with family and friends [before]. But then suddenly, we were completely out of the loop and nobody knew where we were.\u201d\n\nDEALING WITH SETBACKS\nKai, Ben, Leni and Nina at the Bagh-e Fin Garden in Iran.  8feet6wheels They had no choice but to remain in the country for around two weeks, as their visas to enter Pakistan could not be processed, and borders were shut due to the political situation.\nAfter around 10 days of driving across Iran while waiting for their visas to be processed, they\u2019d pretty much given up hope and were making plans to ship their bus back to Dubai.\nHowever, just in time, the Schakats managed to secure their visas for Pakistan in mid-October. They were provided with an armed escort during their drive from Pakistan to India, which took around six days.\nSince leaving Pakistan, the Schakats have been traveling across India, \u201ctackling the country counter clockwise.\u201d\nNina admits that it\u2019s taken their children Ben and Leni, who she describes as \u201cvery social,\u201d a little while to adapt to life on the road.\n\u201cSuddenly, you\u2019re in a bus with four people, two nearly teenagers, 24\/7,\u201d she says. \u201cYou learn how far you can challenge the kids.\u201d\nShe admits that they\u2019ve all found having to keep up with online schooling while traveling difficult, particularly the children, who miss interacting with school friends.\n\u201cYou get distracted all the time because you want to explore the area, and then you need to sit with a kid for a couple of hours a day to do the work, because there\u2019s deadlines,\u201d she adds.\nAnd while the Schakats have been enjoying each others company for the most part, they can\u2019t help but miss being around other people.\n\u201cWe experience everything together,\u201d says Kai. \u201cThere\u2019s no new stories to tell really. But we still have a lot to talk about.\u201d\nThankfully, the family\u2019s eye-catching bus has proved to be quite the conversation starter, and has led them to many new people.\n\u201cIt\u2019s helped us a lot, \u201cexplains Nina. \u201cIt opens doors in terms of communication and connecting to people. It\u2019s very child friendly. Everybody can see that we\u2019re traveling with children.\u201d\nOne of the standout moments of their trip so far has been spending Christmas on a \u201clonely beach\u201d located between Mumbai and Goa with five other overlander families.\nMeanwhile, Ben and Leni were bowled over by Hampi, an ancient village in the south Indian state of Karnataka.\n\u201cI think it\u2019s their favorite [place] so far,\u201d says Nina. \u201cIt\u2019s like something out of an Indiana Jones movie, with all the temples, monkeys and the rocks from the formations of the landscape. It\u2019s just amazing.\u201d\nOf course, there\u2019s no getting away from the fact that driving a huge bus can undoubtedly lead to issues at times, and the family have had their fair share of setbacks.\n\u201cEveryday you have one heart attack,\u201d says Nina, before describing some of the close calls they\u2019ve had with motorbikes while driving through busy roads.\n\u201cMy husband is a superstar in bus driving. The amount of hours he\u2019s spent behind the wheel is pretty crazy. I think he\u2019s got a couple of gray hairs on the trip.\u201d\n\nSLOWING DOWN\nAt the top of the Zigana Pass in northeastern Turkey.  8feet6wheels Although Nina had hoped to be able to take on some of the driving during the trip, she says she finds the gear stick difficult to maneuver, as well as driving on the left, which is the law in India, in a right-hand-drive bus.\n\u201cI tried, but I think it\u2019s probably better that I don\u2019t [drive],\u201d she says.\nIn order to take the pressure off Kai, who got his truck license back in 1999, the family are now trying to take shorter trips, which ultimately means that they are spending longer than they planned in each new destination. They\u2019ve also had to change their route a few times for various reasons.\nNina explains that they \u201clost one and a half months\u201d due to the extended time they spent in Iran and that unplanned detour to Turkey.\nWhile they were hoping to visit Myanmar at some stage, Nina says they\u2019ve accepted that the border between India and Myanmar, which has been closed for months, is unlikely to reopen any time soon.\n\u201cWe should have traveled much faster if we wanted to pursue Southeast Asia,\u201d she says. \u201cBut we knew at a certain point that Myanmar was a \u2018no\u2019.\n\u201cAnd then the shipping cost for the bus would have been so expensive. We simply couldn\u2019t have afforded it.\u201d\nThey recently had to let Ben and Leni know they won\u2019t be able to make two of the destinations that were top of their bucket lists.\n\u201cMy daughter wanted to go to South Korea and my son to Japan,\u201d explains Nina. \u201cI\u2019ve promised them that we will do it on a holiday separately, but we can\u2019t manage it kilometer wise and entering country wise. That boat has left the harbor.\u201d\nWhile the list of countries they end up visiting over the next few months is likely to be shorter than they\u2019d initially hoped, Nina feels that slowly down and spending more time in each place has been more rewarding.\nCurrently in Kochi, they plan to drive towards Chennai, before visiting Cambodia and Laos and then returning to India.\nFrom here, they aim to drive towards Jaipur, Uttar Pradesh, where they\u2019d enter Nepal and return via New Delhi or Agrar to Pakistan.\nAlthough they\u2019re due to return to Dubai this summer, the Schakats are already thinking about their next big trip, and hope to be able to drive around Nort"},"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

Extrator de Texto - TRECHOS DE CÓDIGO


curl --location --request GET 'https://zylalabs.com/api/1334/article+text+extractor+api/1114/text+extractor?url=https://edition.cnn.com/travel/article/family-driving-asia-bus/index.html&js_timeout=30&media=True' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Chave de acesso à API e autenticação

Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Extrator de Texto de Artigo API basta incluir seu token Bearer no cabeçalho Authorization.
Cabeçalhos
Cabeçalho Descrição
Authorization [Obrigatório] Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.

Preços simples e transparentes

Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.

🚀 Empresarial

A partir de
$ 10.000/Ano


  • Volume personalizado
  • Limite de taxa personalizado
  • Suporte ao cliente especializado
  • Monitoramento de API em tempo real

Recursos favoritos dos clientes

  • ✔︎ Pague apenas por requisições bem-sucedidas
  • ✔︎ Teste 7 dias gratis
  • ✔︎ Suporte multilíngue
  • ✔︎ Uma chave de API, todas as APIs.
  • ✔︎ Painel intuitivo
  • ✔︎ Tratamento de erros abrangente
  • ✔︎ Documentação amigável para desenvolvedores
  • ✔︎ Integração com Postman
  • ✔︎ Conexões HTTPS seguras
  • ✔︎ Alta disponibilidade

Extrator de Texto de Artigo API FAQs

A API retorna texto limpo extraído de artigos, junto com metadados estruturados como autores, datas de publicação e palavras-chave. Isso permite que os usuários se concentrem no conteúdo principal sem distrações de anúncios ou links

Os campos principais na resposta incluem "texto" para o conteúdo principal do artigo "autor" para o(s) autor(es) do artigo "data" para a data de publicação e "palavras-chave" para tópicos relevantes Esse formato estruturado auxilia na análise de dados

Os dados da resposta estão organizados em um formato JSON, com um objeto "artigo" contendo campos como "texto," "autor" e "data." Essa estrutura facilita a análise e utilização dos dados em aplicações

A API fornece informações como o texto principal do artigo detalhes do autor datas de publicação e palavras-chave Esse conjunto abrangente de dados suporta várias aplicações incluindo análise de sentimentos e recomendações de conteúdo

O parâmetro principal aceito pelo endpoint é a "URL" do artigo do qual extrair o conteúdo Os usuários devem garantir que a URL aponte para um artigo válido para receber resultados precisos

A precisão dos dados é mantida por meio de técnicas avançadas de processamento de linguagem natural que filtram conteúdo irrelevante A API é projetada para se concentrar no texto principal do artigo garantindo uma saída de alta qualidade

Casos de uso típicos incluem agregação de notícias análise de sentimentos sistemas de recomendação de conteúdo e sumarização de texto Os dados extraídos podem ser utilizados para várias tarefas de PLN e análise de dados

Os usuários podem utilizar os dados retornados integrando-os em suas aplicações para análise visualização ou processamento adicional Por exemplo o texto limpo pode ser usado para análise de sentimento ou para gerar resumos para insights rápidos

Perguntas Frequentes Gerais

O Zyla API Hub é como uma grande loja de APIs, onde você pode encontrar milhares delas em um só lugar. Também oferecemos suporte dedicado e monitoramento em tempo real de todas as APIs. Após se cadastrar, você pode escolher quais APIs deseja usar. Lembre-se apenas de que cada API precisa de sua própria assinatura. Mas se você se inscrever em várias, usará a mesma chave para todas elas, facilitando as coisas para você.

Os preços são listados em USD (Dólar Americano), EUR (Euro), CAD (Dólar Canadense), AUD (Dólar Australiano) e GBP (Libra Esterlina). Aceitamos todos os principais cartões de débito e crédito. Nosso sistema de pagamento usa a mais recente tecnologia de segurança e é operado pela Stripe, uma das empresas de pagamento mais confiáveis do mundo. Se tiver problemas para pagar com cartão, entre em contato conosco em [email protected]


Além disso, se você já tiver uma assinatura ativa em qualquer uma dessas moedas (USD, EUR, CAD, AUD, GBP), essa moeda será mantida para assinaturas subsequentes. Você pode alterar a moeda a qualquer momento, desde que não tenha assinaturas ativas.

A moeda local exibida na página de preços é baseada no país do seu endereço IP e é fornecida apenas como referência. Os preços reais são em USD (Dólar Americano). Ao efetuar o pagamento, a cobrança aparecerá no extrato do seu cartão em USD, mesmo que você veja o valor equivalente em sua moeda local em nosso site. Isso significa que você não pode pagar diretamente com sua moeda local.

Ocasionalmente, o banco pode recusar a cobrança devido às configurações de proteção contra fraude. Sugerimos contatar seu banco inicialmente para verificar se estão bloqueando nossas cobranças. Você também pode acessar o Portal de Cobrança e alterar o cartão associado para realizar o pagamento. Se isso não funcionar e precisar de mais ajuda, entre em contato com nossa equipe em [email protected]

Os preços são determinados por uma assinatura recorrente mensal ou anual, dependendo do plano escolhido.

As chamadas de API são descontadas do seu plano com base nas requisições bem-sucedidas. Cada plano possui um número específico de chamadas por mês. Apenas chamadas bem-sucedidas, indicadas por uma resposta com Status 200, serão contabilizadas, garantindo que falhas não afetem sua cota mensal.

O Zyla API Hub funciona com um sistema de assinatura mensal recorrente. Seu ciclo de cobrança começa no dia em que você compra um dos planos pagos e será renovado no mesmo dia do mês seguinte. Portanto, cancele sua assinatura com antecedência se quiser evitar cobranças futuras.

Para fazer upgrade do seu plano atual, acesse a página de preços da API e selecione o novo plano desejado. O upgrade é instantâneo, permitindo aproveitar imediatamente os recursos do novo plano. Observe que as chamadas restantes do plano anterior não serão transferidas; você será cobrado pelo valor integral do novo plano.

Para verificar quantas chamadas de API restam para o mês atual, consulte o campo 'X-Zyla-API-Calls-Monthly-Remaining' no cabeçalho da resposta. Por exemplo, se seu plano permite 1.000 requisições por mês e você usou 100, este campo no cabeçalho da resposta indicará 900 chamadas restantes.

Para ver o número máximo de requisições de API que seu plano permite, verifique o cabeçalho de resposta 'X-Zyla-RateLimit-Limit'. Por exemplo, se seu plano inclui 1.000 requisições por mês, este cabeçalho exibirá 1.000.

O cabeçalho 'X-Zyla-RateLimit-Reset' mostra o número de segundos até seu limite de taxa ser redefinido. Isso informa quando sua contagem de requisições começará do zero. Por exemplo, se exibir 3.600, significa que restam 3.600 segundos até o limite ser redefinido.

Sim, você pode cancelar seu plano a qualquer momento acessando sua conta e selecionando a opção de cancelamento na página de Cobrança. Observe que upgrades, downgrades e cancelamentos têm efeito imediato. Além disso, após o cancelamento, você não terá mais acesso ao serviço, mesmo que ainda tenha chamadas restantes na sua cota.

Você pode nos contatar via chat para receber assistência imediata. Estamos online de 8h às 17h (EST). Se nos contatar após esse horário, retornaremos o mais rápido possível. Além disso, você pode enviar um e-mail para [email protected]

Para oferecer a oportunidade de experimentar nossas APIs sem compromisso, oferecemos um teste gratuito de 7 dias que permite realizar até 50 chamadas de API sem custo. Esse teste pode ser usado apenas uma vez; recomendamos aplicá-lo à API que mais interessa. Embora a maioria das APIs ofereça teste gratuito, algumas podem não oferecer. O teste termina após 7 dias ou quando você atingir 50 requisições, o que ocorrer primeiro. Se atingir o limite, será necessário "Iniciar seu plano pago" para continuar. Você encontra esse botão no perfil em Assinatura -> Escolha a API -> aba Preços. Se não cancelar até o 7º dia, sua assinatura será cobrada automaticamente, liberando todas as chamadas do plano.

Após 7 dias, será cobrado o valor total do plano ao qual você estava inscrito durante o teste. Portanto, é importante cancelar antes do término do período. Solicitações de reembolso por esquecimento de cancelamento não são aceitas.

Ao assinar um teste gratuito de API, você pode fazer até 50 chamadas. Se desejar fazer chamadas adicionais além desse limite, a API solicitará que você "Inicie seu plano pago". Você encontra o botão no perfil em Assinatura -> Escolha a API -> aba Preços.

As Ordens de Pagamento são processadas entre os dias 20 e 30 de cada mês. Se você enviar sua solicitação antes do dia 20, seu pagamento será processado dentro desse período.


APIs relacionadas


Você também pode gostar